original_string: public function fetch($query)
      {
          $key = $this->_resolveKey($query);
          $storage = $this->_resolveCacher();
          $result = $storage->read($key);
          if (empty($result)) {
              return null;
          }
  
          return $result;
      }
code: public function fetch($query)
      {
          $key = $this->_resolveKey($query);
          $storage = $this->_resolveCacher();
          $result = $storage->read($key);
          if (empty($result)) {
              return null;
          }
  
          return $result;
      }
code_tokens: public function fetch ( $ query ) { $ key = $ this -> _resolveKey ( $ query ) ; $ storage = $ this -> _resolveCacher ( ) ; $ result = $ storage -> read ( $ key ) ; if ( empty ( $ result ) ) { return null ; } return $ result ; }
docstring: Load the cached results from the cache or run the query.
  
  @param object $query The query the cache read is for.
  @return \Cake\Datasource\ResultSetInterface|null Either the cached results or null.
docstring_tokens: Load the cached results from the cache or run the query .