\Charcoal\ValidatorValidatableInterface

Validatable Interface

Add a validator to an object, as well as a validate() method.

Summary

Methods
Constants
setValidator()
validator()
validate()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

validate()

validate(\Charcoal\Validator\ValidatorInterface  $v = null) : boolean

Parameters

\Charcoal\Validator\ValidatorInterface $v

Optional. A custom validator object to use for validation. If null, use object's.

Returns

boolean