merge in rules method * will not be taken into account * * @param ValidationFactory $factory * @return void */ protected function createDefaultValidator(ValidationFactory $factory) { $this->generatedRules = $this->genRules($this->{$this->modelVarName}->content); return parent::createDefaultValidator($factory); } }