Baum\Node::siblingsAndSelf PHP Méthode

siblingsAndSelf() public méthode

Instance scope which targets all children of the parent, including self.
public siblingsAndSelf ( ) : Builder
Résultat Illuminate\Database\Eloquent\Builder
    public function siblingsAndSelf()
    {
        return $this->newNestedSetQuery()->where($this->getParentColumnName(), $this->getParentId());
    }