code: public function initIntegrationModule(ModuleManagerInterface $manager)
      {
          $this->setModuleManager($manager);
          $this->preInitIntegrationModule();
  
          $manager->getEventManager()->attach(
              ModuleEvent::EVENT_LOAD_MODULES_POST,
              [$this, 'onLoadModulesPostProxyHandler'],
              $this->loadModulesPostProxyHandlerPriority
          );
      }
docs: Инициализация интеграционного модуля
  
  @param ModuleManagerInterface $manager