35 lines
645 B
PHP
35 lines
645 B
PHP
<?php
|
|
|
|
namespace Lean\Console\Form\Storage\Database;
|
|
|
|
use Picea\Ui\Method\{ FormInterface, FormContext, FormContextInterface };
|
|
|
|
use \Lean\Console\{ Lib, Entity };
|
|
|
|
use Picea\Compiler\Context;
|
|
use Psr\Http\Message\ServerRequestInterface;
|
|
use Ulmus\{ EntityCollection };
|
|
|
|
class GenerateEntity implements FormInterface
|
|
{
|
|
|
|
public function __construct()
|
|
{
|
|
}
|
|
|
|
public function initialize(FormContextInterface $context) : void
|
|
{
|
|
}
|
|
|
|
public function validate(FormContextInterface $context) : bool
|
|
{
|
|
|
|
|
|
return $context->valid();
|
|
}
|
|
|
|
public function execute(FormContextInterface $context) : void
|
|
{
|
|
}
|
|
}
|