eZ\Publish\Core\FieldType\Validator::validate PHP Метод

validate() абстрактный публичный Метод

Will return true when all constraints are matched. If one or more constraints fail, the method will return false. When a check against a constraint has failed, an entry will be added to the $errors array.
abstract public validate ( Value $value ) : boolean
$value Value
Результат boolean
    public abstract function validate(Value $value);