/** * Returns this model's validation rules. * * @return array */ public function rules() { return ModelHelper::getRules($this); }
/** * Returns this model's validation rules. * * @return array */ public function rules() { return ModelHelper::getRules($this); }