@@ -68,7 +68,6 @@ |
||
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | 70 | * Load extra config files. |
| 71 | - * @param array $config |
|
| 72 | 71 | * @return void |
| 73 | 72 | */ |
| 74 | 73 | public function loadExtraVendor($dir) |
@@ -72,6 +72,9 @@ |
||
| 72 | 72 | return false; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | + /** |
|
| 76 | + * @param string $id |
|
| 77 | + */ |
|
| 75 | 78 | public function getGoal($id) |
| 76 | 79 | { |
| 77 | 80 | return Yii::$app->createControllerById($id); |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | * Runs list of actions. |
| 140 | 140 | * TODO: think to redo with runRequests |
| 141 | 141 | * @param null|string|array $actions |
| 142 | - * @return int|Response exit code |
|
| 142 | + * @return null|integer exit code |
|
| 143 | 143 | */ |
| 144 | 144 | public function runActions($actions) |
| 145 | 145 | { |
@@ -199,6 +199,9 @@ discard block |
||
| 199 | 199 | return Yii::$app->get('binaries')->passthru($name, $args); |
| 200 | 200 | } |
| 201 | 201 | |
| 202 | + /** |
|
| 203 | + * @param string $id |
|
| 204 | + */ |
|
| 202 | 205 | public function takeGoal($id) |
| 203 | 206 | { |
| 204 | 207 | return Yii::$app->get('config')->getGoal($id); |