* @since 2.0 */ class ValidationEvent extends Event { /** * @var boolean whether the model passes the validation by the event handler. * Defaults to true. If it is set false, the [[Model::validate|model validation]] will be cancelled. * @see Model::onBeforeValidate */ public $isValid = true; }