|string> */ public function rules(): array { return [ 'name' => 'required|string|max:255', 'slug' => 'required|string|max:255|unique:pages,slug', 'title' => 'required|string|max:255', 'description' => 'required|string', 'meta_description' => 'nullable|string|max:1000', 'meta_keywords' => 'nullable|string|max:255', 'active' => 'required|boolean', ]; } }