\Charcoal\ValidatorValidatableTrait

A full default implementation, as trait, of the ValidatableInterface.

There is one additional abstract method: create_validator()

Summary

Methods
Properties
Constants
setValidator()
validator()
validate()
No public properties found
No constants found
createValidator()
$validator
N/A
No private methods found
No private properties found
N/A

Properties

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