function debug($message, array $context = array());
/** * Cache an array of resources into the given cache * @param array $resources * @return void */ public function cacheResources(array $resources) { $cache = new ConfigCache($this->getCacheFileLocation(), $this->debug); $content = sprintf('<?php return %s;', var_export($resources, true)); $cache->write($content); $this->logger->debug('Writing translation resources to cache file.'); }