extends abstract class Phalcon\Di\Injectable
implements Phalcon\Events\EventsAwareInterface, Phalcon\Di\InjectionAwareInterface, Phalcon\ValidationInterface
Source on GitHub
Allows to validate data using custom or built-in validators
Methods
public setValidators (mixed $validators)
...
public __construct ([array $validators])
Phalcon\Validation constructor
public Phalcon\Validation\Message\Group validate ([array | object $data], [object $entity])
Validate a set of data according to a set of rul