Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | private function getAction($actionName) { |
||
20 | $packageService = $this->getService()->getPackageService(); |
||
21 | $action = $packageService->getAction($actionName); |
||
22 | if ($action === null) { |
||
23 | $action = new ActionSchema($actionName); |
||
24 | $module = $packageService->getModule(); |
||
25 | $module->addAction($action); |
||
26 | } |
||
27 | return $action; |
||
28 | } |
||
29 | |||
59 | } |