public function ancestors($includeSelf = false, $depth = null)
    {
        $this
            ->getQuerySet()
            ->ancestors($includeSelf, $depth);

        return $this;
    }
public function ancestors($includeSelf = false, $depth = null)
    {
        $this
            ->getQuerySet()
            ->ancestors($includeSelf, $depth);

        return $this;
    }
public function ancestors ( $ includeSelf = false , $ depth = null ) { $ this -> getQuerySet ( ) -> ancestors ( $ includeSelf , $ depth ) ; return $ this ; }
Named scope. Gets ancestors for node.

@param bool $includeSelf
@param int  $depth       the depth

@return $this
Named scope . Gets ancestors for node .