src/Requests/FormRequest.php
public function rules()
    {
        $this->customValidates();
        $this->overrideValidates();
        
        return array_only($this->rules, $this->validateFields);
    }
public function rules()
    {
        $this->customValidates();
        $this->overrideValidates();
        
        return array_only($this->rules, $this->validateFields);
    }
Get the validation rules that apply to the request.

@return array