@ -46,8 +46,8 @@ class Behavior extends \yii\base\Object
*
* ~~~
* [
* 'beforeValidate' => 'myBeforeValidate',
* Model::EVENT_BEFORE_VALIDATE => 'myBeforeValidate',
* 'afterValidate' => 'myAfterValidate',
* Model::EVENT_AFTER_VALIDATE => 'myAfterValidate',
* ]