Baum\Node::rebuild PHP Method

rebuild() public static method

Rebuilds the structure of the current Nested Set.
public static rebuild ( ) : void
return void
    public static function rebuild()
    {
        $builder = new SetBuilder(new static());
        $builder->rebuild();
    }