abstract class AbstractValidator
Properties
protected array | $configuration | |||
protected array | $rules | |||
protected Factory | $validator | |||
protected TranslatorInterface | $translator |
Methods
Details
at
line 24
addConfiguration($callable)
at
line 48
__construct(Factory $validator, TranslatorInterface $translator)
at
line 59
assertValid(array $attributes)
<p>Throw an exception if a model is not valid.</p>
at
line 71
protected array
getRules()
at
line 79
protected array
getMessages()
at
line 90
protected Validator
makeValidator(array $attributes)
<p>Make a new validator instance for this model.</p>