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 | ||
protected Validator | $laravelValidator | |||
protected ImageManager | $imageManager |
Methods
__construct(Factory $validator, TranslatorInterface $translator, ImageManager $imageManager)
No description
Validator
makeValidator(array $attributes)
<p>Make a new validator instance for this model.</p>
from AbstractValidator
Details
in AbstractValidator
at
line 24
addConfiguration($callable)
at
line 33
__construct(Factory $validator, TranslatorInterface $translator, ImageManager $imageManager)
at
line 45
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>