Baum\Node::isValidNestedSet PHP Method

isValidNestedSet() public static method

Checks wether the underlying Nested Set structure is valid.
public static isValidNestedSet ( ) : boolean
return boolean
    public static function isValidNestedSet()
    {
        $validator = new SetValidator(new static());
        return $validator->passes();
    }