beforeAction() public method
This method is invoked right before an action is to be executed (after all possible filters.) It checks the existence of the $migrationPath.
public boolean beforeAction ( $action ) | ||
---|---|---|
$action | yii\base\Action |
The action to be executed. |
return | boolean |
Whether the action should continue to be executed. |
throws | yii\base\InvalidConfigException |
if directory specified in migrationPath doesn't exist and action isn't "create". |
Please login to continue.