事件的参数为一个yii\base\ActionEvent实例,事件处理中可以设置yii\base\ActionEvent::isValid为 false 停止运行后续动作,例如: ['onbeforeAction