protected function getRules() { return array_merge_recursive(parent::getRules(), ['name' => [['not_empty'], [[$this, 'checkPostTypeLimit'], [':validation']]]]); }
protected function getRules() { return array_merge_recursive(parent::getRules(), ['name' => [['not_empty']]]); }