modifyResults($modifier); } return $listing->toResponse(); } /** * Get the validation rules for this controller. * Defaults to a $rules property but can be a rules() method. */ public function getValidationRules(): array { return $this->rules(); } /** * Get the validation rules for the actions in this controller. * Defaults to a $rules property but can be a rules() method. */ protected function rules(): array { return $this->rules; } }