| 1 | <?php |
||
| 30 | final class FormFactory implements IFormFactory |
||
| 31 | { |
||
| 32 | /** |
||
| 33 | * Define class name |
||
| 34 | */ |
||
| 35 | const CLASS_NAME = __CLASS__; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @var Localization\ITranslator |
||
| 39 | */ |
||
| 40 | private $translator; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @var DI\Container |
||
| 44 | */ |
||
| 45 | private $container; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param Localization\ITranslator|NULL $translator |
||
| 49 | * @param DI\Container $container |
||
| 50 | */ |
||
| 51 | public function __construct( |
||
| 58 | |||
| 59 | /** |
||
| 60 | * {@inheritdoc} |
||
| 61 | */ |
||
| 62 | public function create(string $formClassName, ...$args) |
||
| 77 | } |
||
| 78 |