src/FieldManager.php
private function getRules()
    {
        $rules = [];
        foreach ($this->fields as $field => $extra) {
            if (! key_exists('rules', $extra)) {
                continue;
            }
            
            $rules[$field] = $extra['rules'];
        }
        
        return $rules;
    }
private function getRules()
    {
        $rules = [];
        foreach ($this->fields as $field => $extra) {
            if (! key_exists('rules', $extra)) {
                continue;
            }
            
            $rules[$field] = $extra['rules'];
        }
        
        return $rules;
    }
Get the validation rules that apply to the request.

@return array