setValidator()
setValidator(\Charcoal\Validator\ValidatorInterface $validator) : \Charcoal\Validator\ValidatableInterface
Parameters
\Charcoal\Validator\ValidatorInterface | $validator | The validator object to use for validation. |
Returns
\Charcoal\Validator\ValidatableInterface —Chainable