Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
21 | 3 | protected function saveRequestParamsInCommand() |
|
22 | { |
||
23 | 3 | $request = $this->getRequest(); |
|
24 | |||
25 | 3 | $this->getCommand()->setActionParam('module', $request->getModuleName()); |
|
26 | 3 | $this->getCommand()->setActionParam('controller', $request->getControllerName()); |
|
27 | 3 | $this->getCommand()->setActionParam('action', $request->getActionName()); |
|
28 | 3 | } |
|
46 |