original_string: protected function retrieveCollection()
      {
          $cache = new FilesystemAdapter($this->namespace);
          $item = $cache->getItem('collection');
  
          $collection = null;
          if ($item->isHit()) {
              $collection = $item->get('collection');
          }
  
          if (empty($collection) || !$collection instanceof ValuesCollection) {
              $collection = new ValuesCollection();
          }
  
          return $collection;
      }
code: protected function retrieveCollection()
      {
          $cache = new FilesystemAdapter($this->namespace);
          $item = $cache->getItem('collection');
  
          $collection = null;
          if ($item->isHit()) {
              $collection = $item->get('collection');
          }
  
          if (empty($collection) || !$collection instanceof ValuesCollection) {
              $collection = new ValuesCollection();
          }
  
          return $collection;
      }
code_tokens: protected function retrieveCollection ( ) { $ cache = new FilesystemAdapter ( $ this -> namespace ) ; $ item = $ cache -> getItem ( 'collection' ) ; $ collection = null ; if ( $ item -> isHit ( ) ) { $ collection = $ item -> get ( 'collection' ) ; } if ( empty ( $ collection ) || ! $ collection instanceof ValuesCollection ) { $ collection = new ValuesCollection ( ) ; } return $ collection ; }
docstring: \
  Retrieve a new collection of a previous collection
  
  @return mixed|ValuesCollection
docstring_tokens: \ Retrieve a new collection of a previous collection