| 1 | <?php |
||
| 11 | class ViewFactory |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var ConfigurationFactory |
||
| 15 | */ |
||
| 16 | private $configurationFactory; |
||
| 17 | /** |
||
| 18 | * @var FieldFactory |
||
| 19 | */ |
||
| 20 | private $fieldFactory; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * ViewFactory constructor. |
||
| 24 | * |
||
| 25 | * @param ConfigurationFactory $configurationFactory |
||
| 26 | * @param FieldFactory $fieldFactory |
||
| 27 | */ |
||
| 28 | public function __construct(ConfigurationFactory $configurationFactory, FieldFactory $fieldFactory) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Create a view for a given Admin and Action. |
||
| 36 | * |
||
| 37 | * @param string $actionName |
||
| 38 | * @param string $adminName |
||
| 39 | * @param AdminConfiguration $adminConfiguration |
||
| 40 | * @param ActionConfiguration $actionConfiguration |
||
| 41 | * |
||
| 42 | * @return View |
||
| 43 | */ |
||
| 44 | public function create( |
||
| 58 | } |
||
| 59 |