abstract class
AbstractValidator
Properties
|
protected array
|
$configuration |
|
|
|
|
protected array
|
$rules |
|
|
|
|
protected Factory
|
$validator |
|
|
|
|
protected TranslatorInterface
|
$translator |
|
|
|
Methods
assertValid(array $attributes)
Throw an exception if a model is not valid.
makeValidator(array $attributes)
Make a new validator instance for this model.
Details
addConfiguration($callable)
__construct( Factory $validator, TranslatorInterface $translator)
assertValid(array $attributes)
Throw an exception if a model is not valid.
protected array
getRules()
protected array
getMessages()
protected Validator
makeValidator(array $attributes)
Make a new validator instance for this model.