helpers/ConfigsBuilder.php
public static function cacheAllConfigsFile($application = null)
    {
        if (empty($application)) {
            $application = Yii::$app;
        }
        $appKey = UniApplication::appKey($application);
        $cacheKey = static::$confFileCacheKey . '/' . $appKey;

        if ($application->cache instanceof Cache && !empty(static::$_configFiles)) {
            $application->cache->set($cacheKey, static::$_configFiles, static::$defaultCacheDuration);
        }
    }
public static function cacheAllConfigsFile($application = null)
    {
        if (empty($application)) {
            $application = Yii::$app;
        }
        $appKey = UniApplication::appKey($application);
        $cacheKey = static::$confFileCacheKey . '/' . $appKey;

        if ($application->cache instanceof Cache && !empty(static::$_configFiles)) {
            $application->cache->set($cacheKey, static::$_configFiles, static::$defaultCacheDuration);
        }
    }
public static function cacheAllConfigsFile ( $ application = null ) { if ( empty ( $ application ) ) { $ application = Yii :: $ app ; } $ appKey = UniApplication :: appKey ( $ application ) ; $ cacheKey = static :: $ confFileCacheKey . '/' . $ appKey ; if ( $ application -> cache instanceof Cache && ! empty ( static :: $ _configFiles ) ) { $ application -> cache -> set ( $ cacheKey , static :: $ _configFiles , static :: $ defaultCacheDuration ) ; } }
Save all configs together in cache
Save all configs together in cache