public function getUserConfigDir()
{
return FilesystemHelper::getHomeDirectory() . '/' . $this->get('application.user_config_dir');
}
protected function setUpCache() { if (!isset(self::$cache)) { if (!empty($this->config->get('api.disable_cache'))) { self::$cache = new VoidCache(); } else { self::$cache = new FilesystemCache($this->config->getUserConfigDir() . '/cache', FilesystemCache::EXTENSION, 077); } } }