Baum\Node::ancestors PHP Méthode

ancestors() public méthode

Instance scope which targets all the ancestor chain nodes excluding the current one.
public ancestors ( ) : Builder
Résultat Illuminate\Database\Eloquent\Builder
    public function ancestors()
    {
        return $this->ancestorsAndSelf()->withoutSelf();
    }