21 lines
525 B
PHP
21 lines
525 B
PHP
<?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,
|
|
) {}
|
|
}
|