/** * Create an AssetCacher * * @param string $path The path to cache assets into. * @return \MiniAsset\AssetCacher */ public function cacher($path = '') { if (!$path) { $path = sys_get_temp_dir() . DIRECTORY_SEPARATOR; } $cache = new AssetCacher($path, $this->config->theme()); $cache->configTimestamp($this->config->modifiedTime()); $cache->filterRegistry($this->filterRegistry()); return $cache; }