abstract class AbstractValidator
Traits
Properties
| static string | $CORE_VALIDATION_CACHE_KEY |
|
||
| protected array | $configuration |
|
||
| protected array | $rules |
|
||
| protected Factory | $validator |
|
||
| protected TranslatorInterface | $translator |
|
Methods
Details
in ExtensionIdTrait
at
line 17
protected string|null
getClassExtensionId()
at
line 34
addConfiguration($callable)
at
line 58
__construct(Factory $validator, TranslatorInterface $translator)
at
line 69
assertValid(array $attributes)
Throw an exception if a model is not valid.
at
line 81
protected array
getRules()
at
line 89
protected array
getMessages()
at
line 97
protected array
getAttributeNames()
at
line 126
protected Validator
makeValidator(array $attributes)
Make a new validator instance for this model.