public function createService(ServiceLocatorInterface $serviceLocator)
    {
        $cacheManager = new CacheManager($serviceLocator->get('HtSettingsModule\Options\ModuleOptions')->getCacheOptions());
        $cacheManager->setServiceLocator($serviceLocator);

        return $cacheManager;
    }
public function createService(ServiceLocatorInterface $serviceLocator)
    {
        $cacheManager = new CacheManager($serviceLocator->get('HtSettingsModule\Options\ModuleOptions')->getCacheOptions());
        $cacheManager->setServiceLocator($serviceLocator);

        return $cacheManager;
    }
public function createService ( ServiceLocatorInterface $ serviceLocator ) { $ cacheManager = new CacheManager ( $ serviceLocator -> get ( 'HtSettingsModule\Options\ModuleOptions' ) -> getCacheOptions ( ) ) ; $ cacheManager -> setServiceLocator ( $ serviceLocator ) ; return $ cacheManager ; }
Gets cache manager

@param  ServiceLocatorInterface $serviceLocator
@return CacheManager
Gets cache manager