public static function setAlreadyAddSubmodulesFor($module, $app = null)
    {
        if (empty($app)) {
            $app = Yii::$app;
        }
        $appKey = UniApplication::appKey($app);
        if($module instanceof YiiBaseModule) {
            static::$_modulesWithInstalledSubmodules[$appKey][$module::className()] = $module->uniqueId; // uniqueId for Yii::$app = ''
        }
    }