original_string: public function getCaches()
      {
          $caches = $this->_caches;
          foreach ($this->_optionTemplates as $name => $tmp) {
              if (!isset($caches[$name])) {
                  $caches[$name] = $this->getCache($name);
              }
          }
          return $caches;
      }
code: public function getCaches()
      {
          $caches = $this->_caches;
          foreach ($this->_optionTemplates as $name => $tmp) {
              if (!isset($caches[$name])) {
                  $caches[$name] = $this->getCache($name);
              }
          }
          return $caches;
      }
code_tokens: public function getCaches ( ) { $ caches = $ this -> _caches ; foreach ( $ this -> _optionTemplates as $ name => $ tmp ) { if ( ! isset ( $ caches [ $ name ] ) ) { $ caches [ $ name ] = $ this -> getCache ( $ name ) ; } } return $ caches ; }
docstring: Fetch all available caches
  
  @return array An array of all available caches with it's names as key
docstring_tokens: Fetch all available caches