original_string: public function setCache(Mustache_Cache $cache)
      {
          if (isset($this->logger) && $cache->getLogger() === null) {
              $cache->setLogger($this->getLogger());
          }
  
          $this->cache = $cache;
      }
code: public function setCache(Mustache_Cache $cache)
      {
          if (isset($this->logger) && $cache->getLogger() === null) {
              $cache->setLogger($this->getLogger());
          }
  
          $this->cache = $cache;
      }
code_tokens: public function setCache ( Mustache_Cache $ cache ) { if ( isset ( $ this -> logger ) && $ cache -> getLogger ( ) === null ) { $ cache -> setLogger ( $ this -> getLogger ( ) ) ; } $ this -> cache = $ cache ; }
docstring: Set the Mustache Cache instance.
  
  @param Mustache_Cache $cache
docstring_tokens: Set the Mustache Cache instance .