code: public static function factory(ContainerInterface $container)
      {
          /* @var \Zend\ModuleManager\ModuleManager $manager */
          $config = $container->get('ApplicationConfig');
          $options = new ListenerOptions($config['module_listener_options']);
          return new static($options);
      }
docs: Creates new ClearCacheService object
  @param ContainerInterface $container
  @return ClearCacheService