| @@ 28-35 (lines=8) @@ | ||
| 25 | /** |
|
| 26 | * @return bool |
|
| 27 | */ |
|
| 28 | public function hasControllerName() |
|
| 29 | { |
|
| 30 | $action = $this->getCommand()->getAction(); |
|
| 31 | if (is_array($action) && isset($action['controller'])) { |
|
| 32 | return true; |
|
| 33 | } |
|
| 34 | return false; |
|
| 35 | } |
|
| 36 | ||
| 37 | /** |
|
| 38 | * @throws \Exception |
|
| @@ 29-36 (lines=8) @@ | ||
| 26 | /** |
|
| 27 | * @return bool |
|
| 28 | */ |
|
| 29 | public function hasControllerName() |
|
| 30 | { |
|
| 31 | $action = $this->getCommand()->getAction(); |
|
| 32 | if (is_array($action) && isset($action['controller'])) { |
|
| 33 | return true; |
|
| 34 | } |
|
| 35 | return false; |
|
| 36 | } |
|
| 37 | ||
| 38 | /** |
|
| 39 | * @throws \Exception |
|