ValidatorInterface
interface ValidatorInterface (View source)
A generic validator cabable of describing itself and validating mixed values.
Methods
string[]
getRequirementStrings()
Get the validator requirements in the form of an array keyed by it's respective error code.
bool
Details
string[]
getRequirementStrings()
Get the validator requirements in the form of an array keyed by it's respective error code.
bool
isValid(mixed $mixed, ArrayAccess $error = null)
Is this mixed value valid.