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