Factory

Winter CMS wrapper for the Laravel Validation factory.

 class Winter\Storm\Validation\Factory
extends Illuminate\Validation\Factory
implements 
    Illuminate\Contracts\Validation\Factory

Ensures that the default resolver is the Winter\Storm\Validation\Validator.

Extends

Methods

protected resolve (array $data, array $rules, array $messages, array $customAttributes) : Winter\Storm\Validation\Validator

Resolve a new Validator instance.

Parameters
Property Description
$data
array
$rules
array
$messages
array
$customAttributes
array
Returns
Copyright © 2024 Winter CMS