|string> */ public function rules(): array { return [ 'genre' => ['string', 'required', Rule::in(Helpers::getMovieGenreList()->pluck('slug'))], 'page' => 'integer|required' ]; } }