code: public function init(ModuleManagerInterface $moduleModuleManager)
      {
          $events = $moduleModuleManager->getEventManager();
          $events->attach(
              ModuleEvent::EVENT_LOAD_MODULES_POST,
              array($this,'initThemeManager'),
              -100000
          );
  
          $events->attach(
              ModuleEvent::EVENT_LOAD_MODULES_POST,
              array($this,'onLoadModulesPostAddServices'),
              -100000
          );
      }
docs: Initialize workflow
  
  @param \Zend\ModuleManager\ModuleManagerInterface $moduleModuleManager
  @internal param \Zend\ModuleManager\ModuleManagerInterface $manager
  @return void