Baum\Node::root PHP 메소드

root() 공개 정적인 메소드

Returns the first root node.
public static root ( ) : NestedSet
리턴 NestedSet
    public static function root()
    {
        return static::roots()->first();
    }