- Lean's API WIP on forms and ApiRenderer
This commit is contained in:
1 parent
3ce356e1f2
commit
4d7053a9cb
30 files changed
+1003
-56
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Lean\Api\Form\Debug;
|
||||
|
||||
use Lean\Api\Factory\MessageFactoryInterface;
|
||||
use Lean\LanguageHandler;
|
||||
use Lean\Api\{Lib, Entity};
|
||||
|
||||
class ErrorSave extends \Lean\Api\Form\Save {
|
||||
|
||||
public function __construct(
|
||||
protected LanguageHandler $languageHandler,
|
||||
protected MessageFactoryInterface $message,
|
||||
public Entity\Error $entity,
|
||||
) {
|
||||
parent::__construct($this->languageHandler, $this->message);
|
||||
|
||||
$this->contextClass = ErrorContext::class;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user