original_string: public function all()
      {
          if ($this->_results !== null) {
              return $this->_results;
          }
  
          if ($this->_cache) {
              $results = $this->_cache->fetch($this);
          }
          if (!isset($results)) {
              $results = $this->_decorateResults($this->_execute());
              if ($this->_cache) {
                  $this->_cache->store($this, $results);
              }
          }
          $this->_results = $results;
  
          return $this->_results;
      }
code: public function all()
      {
          if ($this->_results !== null) {
              return $this->_results;
          }
  
          if ($this->_cache) {
              $results = $this->_cache->fetch($this);
          }
          if (!isset($results)) {
              $results = $this->_decorateResults($this->_execute());
              if ($this->_cache) {
                  $this->_cache->store($this, $results);
              }
          }
          $this->_results = $results;
  
          return $this->_results;
      }
code_tokens: public function all ( ) { if ( $ this -> _results !== null ) { return $ this -> _results ; } if ( $ this -> _cache ) { $ results = $ this -> _cache -> fetch ( $ this ) ; } if ( ! isset ( $ results ) ) { $ results = $ this -> _decorateResults ( $ this -> _execute ( ) ) ; if ( $ this -> _cache ) { $ this -> _cache -> store ( $ this , $ results ) ; } } $ this -> _results = $ results ; return $ this -> _results ; }
docstring: Fetch the results for this query.
  
  Will return either the results set through setResult(), or execute this query
  and return the ResultSetDecorator object ready for streaming of results.
  
  ResultSetDecorator is a traversable object that implements the methods found
  on Cake\Collection\Collection.
  
  @return \Cake\Datasource\ResultSetInterface
docstring_tokens: Fetch the results for this query .