|
|
@ -172,7 +172,7 @@ class Application extends \yii\base\Application |
|
|
|
* @param string $route the route that specifies the action. |
|
|
|
* @param string $route the route that specifies the action. |
|
|
|
* @param array $params the parameters to be passed to the action |
|
|
|
* @param array $params the parameters to be passed to the action |
|
|
|
* @return int|Response the result of the action. This can be either an exit code or Response object. |
|
|
|
* @return int|Response the result of the action. This can be either an exit code or Response object. |
|
|
|
* Exit code 0 means normal, and other values mean abnormal. Exit code of `null` is treaded as `0` as well. |
|
|
|
* Exit code 0 means normal, and other values mean abnormal. Exit code of `null` is treated as `0` as well. |
|
|
|
* @throws Exception if the route is invalid |
|
|
|
* @throws Exception if the route is invalid |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function runAction($route, $params = []) |
|
|
|
public function runAction($route, $params = []) |
|
|
|