extraPrepareForValidation(); } /** * Get the validation rules that apply to the request. * * @return array */ #[\Override] public function rules(): array { return array_merge(parent::rules(), $this->extraRules()); } /** * Get custom attributes for validator errors. * * @return array */ #[\Override] public function attributes(): array { return array_merge(parent::attributes(), $this->extraAttributes()); } }