- New code generation made for CLI
This commit is contained in:
1 parent
ae212a4377
commit
c3e3d6a73a
22 files changed
+1067
-17
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace %NAMESPACE%\%FORM_NS%;
|
||||
|
||||
use Picea\Ui\Method\{ FormContextInterface };
|
||||
use Lean\Api\Factory\MessageFactoryInterface;
|
||||
use Lean\LanguageHandler;
|
||||
|
||||
use %NAMESPACE%\{%USE_ENTITY_NS%, };
|
||||
|
||||
class %DELETE_FORM_CLASSNAME% extends \Lean\Api\Form\Delete
|
||||
{
|
||||
protected string $contextClass = %DELETE_FORM_CONTEXT_CLASSNAME%::class;
|
||||
|
||||
public function __construct(
|
||||
protected LanguageHandler $languageHandler,
|
||||
protected MessageFactoryInterface $message,
|
||||
protected %ENTITY_NS%\%CLASSNAME% $entity,
|
||||
) {}
|
||||
}
|
||||
Reference in new issue
Block a user