original_string: public function getCached($columns = array('*'))
      {
          if (is_null($this->columns)) $this->columns = $columns;
  
          //
          list($key, $minutes) = $this->getCacheInfo();
  
          $cache = $this->getCache();
  
          $callback = $this->getCacheCallback($columns);
  
          if ($minutes < 0) {
              return $cache->rememberForever($key, $callback);
          }
  
          return $cache->remember($key, $minutes, $callback);
      }
code: public function getCached($columns = array('*'))
      {
          if (is_null($this->columns)) $this->columns = $columns;
  
          //
          list($key, $minutes) = $this->getCacheInfo();
  
          $cache = $this->getCache();
  
          $callback = $this->getCacheCallback($columns);
  
          if ($minutes < 0) {
              return $cache->rememberForever($key, $callback);
          }
  
          return $cache->remember($key, $minutes, $callback);
      }
code_tokens: public function getCached ( $ columns = array ( '*' ) ) { if ( is_null ( $ this -> columns ) ) $ this -> columns = $ columns ; // list ( $ key , $ minutes ) = $ this -> getCacheInfo ( ) ; $ cache = $ this -> getCache ( ) ; $ callback = $ this -> getCacheCallback ( $ columns ) ; if ( $ minutes < 0 ) { return $ cache -> rememberForever ( $ key , $ callback ) ; } return $ cache -> remember ( $ key , $ minutes , $ callback ) ; }
docstring: Execute the query as a cached "select" statement.
  
  @param  array  $columns
  @return array
docstring_tokens: Execute the query as a cached select statement .