| 1 | <?php |
||
| 17 | class Controller |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var ActionFactory |
||
| 21 | */ |
||
| 22 | protected $actionFactory; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var Request |
||
| 26 | */ |
||
| 27 | protected $request; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param ActionFactory $actionFactory |
||
| 31 | * @param Request $request |
||
| 32 | */ |
||
| 33 | public function __construct(ActionFactory $actionFactory, Request $request) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Default action |
||
| 41 | * |
||
| 42 | * @param string $customEntityName |
||
| 43 | * @param string $actionType |
||
| 44 | * |
||
| 45 | * @return Response |
||
| 46 | * @throws NotFoundHttpException |
||
| 47 | */ |
||
| 48 | public function executeAction($customEntityName, $actionType) |
||
| 59 | } |
||
| 60 |