- Lean's API WIP on forms and ApiRenderer

This commit is contained in:
Dave Mc Nicoll committed 2025-05-21 18:36:19 +00:00
1 parent 3ce356e1f2
commit 4d7053a9cb
30 files changed
+1003 -56

No files matched your search

+20
View File
@@ -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;
}
}