This package can validate objects using rules defined in comments.
It can use PHP reflection support to extract validation rules defined by the class comments.
The package provides classes that implement several types of validation rules.
The package can validate the parameters passed to the class functions, return values, class variables, and class constants.
Suppose one of the validated values does not satisfy the validation rules. In that case, the package triggers an exception that applications can handle to process the claims when the class validated by this package uses invalid values. |