Baum\Node::getRightSibling PHP Méthode

getRightSibling() public méthode

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