Baum\Node::ancestors PHP Метод

ancestors() публичный Метод

Instance scope which targets all the ancestor chain nodes excluding the current one.
public ancestors ( ) : Builder
Результат Illuminate\Database\Eloquent\Builder
    public function ancestors()
    {
        return $this->ancestorsAndSelf()->withoutSelf();
    }