Baum\Node::getRightSibling PHP 메소드

getRightSibling() 공개 메소드

Returns the first sibling to the right.
public getRightSibling ( ) : NestedSet
리턴 NestedSet
    public function getRightSibling()
    {
        return $this->siblings()->where($this->getLeftColumnName(), '>', $this->getLeft())->first();
    }