class UserValidator extends AbstractValidator
Properties
protected array | $configuration | from AbstractValidator | ||
protected array | $rules | from AbstractValidator | ||
protected Factory | $validator | from AbstractValidator | ||
protected TranslatorInterface | $translator | from AbstractValidator | ||
protected User|null | $user |
Methods
__construct(Factory $validator, TranslatorInterface $translator)
No description
from AbstractValidator
assertValid(array $attributes)
<p>Throw an exception if a model is not valid.</p>
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)
in AbstractValidator
at
line 59
assertValid(array $attributes)
<p>Throw an exception if a model is not valid.</p>
at
line 40
protected array
getRules()
at
line 67
protected array
getMessages()
in AbstractValidator
at
line 90
protected Validator
makeValidator(array $attributes)
<p>Make a new validator instance for this model.</p>