/** * Create service * * @param Config $config * @return mixed */ public function createService(Config $config) { $options = $config->getCacheOptions(); $storage = new FileSystem($options->getStorageOptions()); return $storage; }