App\Http\Requests\Client\UpdateClientRequest::rules PHP Method

rules() public method

Get the validation rules that apply to the request.
public rules ( ) : array
return array
    public function rules()
    {
        return ['name' => 'required', 'company_name' => 'required', 'vat' => 'max:8', 'email' => 'required', 'address' => '', 'zipcode' => 'max:4', 'city' => '', 'primary_number' => 'max:10', 'secondary_number' => 'max:10', 'industry' => '', 'company_type' => '', 'fk_user_id' => 'required'];
    }
UpdateClientRequest