Example #1
0
 /**
  * checks a undefined element
  *
  * @param mixed $value
  * @param mixed $schema
  * @param mixed $path
  * @param mixed $i
  */
 protected function checkUndefined($value, $schema = null, $path = null, $i = null)
 {
     $validator = new Undefined($this->checkMode);
     $validator->check($value, $schema, $path, $i);
     $this->addErrors($validator->getErrors());
 }
Example #2
0
 /**
  * @return bool
  */
 public function isUndefined()
 {
     return $this->undefined->value();
 }