src/IntegrationModuleTrait.php
public function initIntegrationModule(ModuleManagerInterface $manager)
    {
        $this->setModuleManager($manager);
        $this->preInitIntegrationModule();

        $manager->getEventManager()->attach(
            ModuleEvent::EVENT_LOAD_MODULES_POST,
            [$this, 'onLoadModulesPostProxyHandler'],
            $this->loadModulesPostProxyHandlerPriority
        );
    }
public function initIntegrationModule(ModuleManagerInterface $manager)
    {
        $this->setModuleManager($manager);
        $this->preInitIntegrationModule();

        $manager->getEventManager()->attach(
            ModuleEvent::EVENT_LOAD_MODULES_POST,
            [$this, 'onLoadModulesPostProxyHandler'],
            $this->loadModulesPostProxyHandlerPriority
        );
    }
Инициализация интеграционного модуля

@param ModuleManagerInterface $manager