| 1 | <?php |
||
| 31 | 1 | final class FormFactory implements IFormFactory |
|
| 32 | { |
||
| 33 | /** |
||
| 34 | * @var Localization\ITranslator|NULL |
||
| 35 | */ |
||
| 36 | private $translator; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @var DI\Container |
||
| 40 | */ |
||
| 41 | private $container; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param Localization\ITranslator|NULL $translator |
||
| 45 | * @param DI\Container $container |
||
| 46 | */ |
||
| 47 | public function __construct( |
||
| 54 | |||
| 55 | /** |
||
| 56 | * {@inheritdoc} |
||
| 57 | */ |
||
| 58 | public function create(string $formClassName, ...$args) : Application\UI\Form |
||
| 74 | } |
||
| 75 |