PHP Interface Laracasts\Validation\FactoryInterface

Mostra file Open project: laracasts/validation Interface Usage Examples

Public Methods

Method Description
make ( array $formData, array $rules, array $messages = [] ) : Laracasts\Validation\ValidatorInterface Initialize validator

Method Details

make() public method

Initialize validator
public make ( array $formData, array $rules, array $messages = [] ) : Laracasts\Validation\ValidatorInterface
$formData array
$rules array
$messages array
return Laracasts\Validation\ValidatorInterface