authService->check(); } /** @return array */ public function rules(): array { return [ 'seo_title' => ['required', 'string', 'between:45,70'], 'seo_description' => ['required', 'string', 'between:50,160'], 'title' => ['nullable', 'string', 'min:3', 'max:255'], 'content' => ['required', 'string'], ]; } #[\Override] public function attributes(): array { return [ 'seo_title' => trans('validation.custom.attributes.seo_title'), 'seo_description' => trans('validation.custom.attributes.seo_description'), 'title' => trans('validation.attributes.title'), 'content' => trans('validation.attributes.content'), ]; } }