passes() публичный Метод

Determine if the validation passes.
public passes ( ) : boolean
Результат boolean
Пример #1
0
 /**
  * Checks wether the underlying Nested Set structure is valid.
  *
  * @return boolean
  */
 public static function isValidNestedSet()
 {
     $validator = new SetValidator(new static());
     return $validator->passes();
 }