Author: Robert Schönthal (seroscho@googlemail.com)
Author: Bruno Prieto Reis (bruno.p.reis@gmail.com)
Inheritance: extends JsonSchema\Constraints\Constraint
Beispiel #1
0
 /**
  * Checks a string element
  *
  * @param mixed $value
  * @param mixed $schema
  * @param mixed $path
  * @param mixed $i
  */
 protected function checkString($value, $schema = null, $path = null, $i = null)
 {
     $validator = new StringConstraint($this->checkMode, $this->uriRetriever, $this->uriResolver, $this->schemaId);
     $validator->check($value, $schema, $path, $i);
     $this->addErrors($validator->getErrors());
 }