Phalcon\Mvc\Model\ValidatorInterface initializer
abstract public Phalcon\Validation\Message\Group validate (array|object $data, [object $entity])
Validate a set of data according to a set of rules
abstract public Phalcon\Validation add (string $attribute, unknown $validator)
Adds a validator to a field
abstract public string getLabel (string|array $field)
Get label for field
abstract public mixed getValue (string $attribute, [unknown $entity])
Gets the a value to validate in the array/object data source
abstract public appendMessage (Phalcon\Validation\MessageInterface $message)
...
abstract public Phalcon\Validation\Message\Group getMessages ()
Returns the registered validators