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();
    }