API Documentation (v0.9.0-alpha)

Validation

Interfaces

ValidatorInterface
An interface which declares the base methods for Validators.

Classes

AbstractValidator
An abstract class which has to be extended by every Validator.
CompareValidator
The CompareValidator performs validations using the common comparison validators.
DateTimeValidator
The DateValidator checks if a value is a valid date, time or datetime.
FormatValidator
The FormatValidator checks if a value has a valid format.
RangeValidator
The RangeValidator validates if a value is inside a specific range (array).
RegexValidator
The CompareValidator performs validations against a regular expression.
RequiredValidator
The RequiredValidator indicates that a value is mandatory.
SizeValidator
The SizeValidator validates that a value has a specific size or is withing a min/max value.
TypeValidator
The TypeValidator validates the data type of the value.
UniqueValidator
The UniqueValidator validates if the value of an Entity attribute is unique in database.