public function getDescent($id)
    {
        $key = $this->getCacheKey('descent', $id);
        if ($results = $this->cache->get($key)) {
            return $results;
        }

        $this->cache->add($key, $results = $this->getRecursiveRetriever()->getDescent($id), 2);

        return $results;
    }
public function getDescent($id)
    {
        $key = $this->getCacheKey('descent', $id);
        if ($results = $this->cache->get($key)) {
            return $results;
        }

        $this->cache->add($key, $results = $this->getRecursiveRetriever()->getDescent($id), 2);

        return $results;
    }
public function getDescent ( $ id ) { $ key = $ this -> getCacheKey ( 'descent' , $ id ) ; if ( $ results = $ this -> cache -> get ( $ key ) ) { return $ results ; } $ this -> cache -> add ( $ key , $ results = $ this -> getRecursiveRetriever ( ) -> getDescent ( $ id ) , 2 ) ; return $ results ; }
Get all childs recursively.

@param int $id The term's id
@return \Illuminate\Support\Collection
Get all childs recursively .