class SettingsValidator extends AbstractValidator
Properties
protected array | $configuration | from AbstractValidator | ||
protected array | $rules | from AbstractValidator | ||
protected Factory | $validator | from AbstractValidator | ||
protected TranslatorInterface | $translator | from AbstractValidator | ||
protected array | $globalRules | <p>These rules apply to all attributes.</p> |
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
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>
in AbstractValidator
at
line 71
protected array
getRules()
in AbstractValidator
at
line 79
protected array
getMessages()
at
line 34
protected Validator
makeValidator(array $attributes)
<p>Make a new validator instance for this model.</p>