original_string: protected function query(Select $sql)
      {
          $cid = $this->getId($sql);
          $collection = $this->repository
              ->getCollectionsMap()
              ->get($cid, false);
  
          if (false === $collection) {
              $collection = $this->getCollection($sql, $cid);
          }
  
          return $collection;
      }
code: protected function query(Select $sql)
      {
          $cid = $this->getId($sql);
          $collection = $this->repository
              ->getCollectionsMap()
              ->get($cid, false);
  
          if (false === $collection) {
              $collection = $this->getCollection($sql, $cid);
          }
  
          return $collection;
      }
code_tokens: protected function query ( Select $ sql ) { $ cid = $ this -> getId ( $ sql ) ; $ collection = $ this -> repository -> getCollectionsMap ( ) -> get ( $ cid , false ) ; if ( false === $ collection ) { $ collection = $ this -> getCollection ( $ sql , $ cid ) ; } return $ collection ; }
docstring: Execute provided query
  
  @param Select $sql
  
  @return EntityCollectionInterface
docstring_tokens: Execute provided query