Conditions | 3 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 0 |
1 | <?php |
||
34 | public function getAction($name, $relatedEntity = null, ...$arguments) |
||
35 | { |
||
36 | return $this->actionFactory |
||
37 | ->createAction($name) |
||
38 | ->denormalize(isset($arguments[0]) && is_array($arguments[0]) ? |
||
39 | $arguments[0] : |
||
40 | array() |
||
41 | ) |
||
42 | ->init($relatedEntity, ...$arguments) |
||
43 | ; |
||
44 | } |
||
45 | } |
||
46 |