public function setCache(Mustache_Cache $cache)
    {
        if (isset($this->logger) && $cache->getLogger() === null) {
            $cache->setLogger($this->getLogger());
        }

        $this->cache = $cache;
    }
public function setCache(Mustache_Cache $cache)
    {
        if (isset($this->logger) && $cache->getLogger() === null) {
            $cache->setLogger($this->getLogger());
        }

        $this->cache = $cache;
    }
public function setCache ( Mustache_Cache $ cache ) { if ( isset ( $ this -> logger ) && $ cache -> getLogger ( ) === null ) { $ cache -> setLogger ( $ this -> getLogger ( ) ) ; } $ this -> cache = $ cache ; }
Set the Mustache Cache instance.

@param Mustache_Cache $cache
Set the Mustache Cache instance .