$validator
$validator : \Charcoal\Validator\ValidatorInterface
In-objet copy of the `ValidatorInterface` validator object
A full default implementation, as trait, of the ValidatableInterface.
There is one additional abstract method: create_validator()
$validator : \Charcoal\Validator\ValidatorInterface
In-objet copy of the `ValidatorInterface` validator object
setValidator(\Charcoal\Validator\ValidatorInterface $validator) : \Charcoal\Validator\ValidatableInterface
\Charcoal\Validator\ValidatorInterface | $validator | The validator object to use for validation. |
Chainable
validator() : \Charcoal\Validator\ValidatorInterface
validate(\Charcoal\Validator\ValidatorInterface $v = null) : boolean
\Charcoal\Validator\ValidatorInterface | $v | Optional. A custom validator object to use for validation. If null, use object's. |
createValidator() : \Charcoal\Validator\ValidatorInterface