- Some work done on entity generation
This commit is contained in:
1 parent
05975089e5
commit
2dc71cd350
12 files changed
+94
-28
No files matched your search
@@ -11,6 +11,10 @@ class %SAVE_FORM_CONTEXT_CLASSNAME% extends \Lean\Api\Lib\FormContext
|
||||
# #[ContextField]
|
||||
# public string $name;
|
||||
|
||||
public function initializeEntity(%ENTITY_NS%\%CLASSNAME% $entity): void
|
||||
{
|
||||
}
|
||||
|
||||
public function valid(? %ENTITY_NS%\%CLASSNAME% $entity = null) : bool
|
||||
{
|
||||
return parent::valid();
|
||||
|
||||
Reference in new issue
Block a user