PHP Class Laracasts\Validation\LaravelValidator

Inheritance: implements Laracasts\Validation\FactoryInterface
Mostrar archivo Open project: laracasts/validation

Public Methods

Method Description
__construct ( Illuminate\Validation\Factory $validator )
make ( array $formData, array $rules, array $messages = [] ) : Illuminate\Validation\Validator Initialize validation

Method Details

__construct() public method

public __construct ( Illuminate\Validation\Factory $validator )
$validator Illuminate\Validation\Factory

make() public method

Initialize validation
public make ( array $formData, array $rules, array $messages = [] ) : Illuminate\Validation\Validator
$formData array
$rules array
$messages array
return Illuminate\Validation\Validator