Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
1 | <?php |
||
48 | public function executeAction($customEntityName, $actionType) |
||
49 | { |
||
50 | $action = $this->actionFactory->getAction($customEntityName, $actionType); |
||
51 | if (!$action) { |
||
52 | throw new NotFoundHttpException( |
||
53 | sprintf('No action found for type "%s"', $actionType) |
||
54 | ); |
||
55 | } |
||
56 | |||
57 | return $action->execute($this->request); |
||
58 | } |
||
59 | } |
||
60 |