src/IntegrationModuleTrait.php
public function getModuleManager()
    {
        if (!$this->moduleManager instanceof ModuleManagerInterface) {
            $errMsg = 'Module manager not installed';
            throw new Exception\InvalidModuleManagerException($errMsg);
        }
        return $this->moduleManager;
    }
public function getModuleManager()
    {
        if (!$this->moduleManager instanceof ModuleManagerInterface) {
            $errMsg = 'Module manager not installed';
            throw new Exception\InvalidModuleManagerException($errMsg);
        }
        return $this->moduleManager;
    }
Возвращает менеджер модулей

@return ModuleManagerInterface

@throws Exception\InvalidModuleManagerException