PHP Interface Laracasts\Validation\ValidatorInterface

Mostra file Open project: laracasts/validation Interface Usage Examples

Public Methods

Method Description
errors ( ) : mixed Get the list of validation errors
fails ( ) : mixed Determine if the validation failed

Method Details

errors() public method

Get the list of validation errors
public errors ( ) : mixed
return mixed

fails() public method

Determine if the validation failed
public fails ( ) : mixed
return mixed