src/Core/Config/Config.php
public static function unnest()
    {
        // Unnest unless we would be left at 0 manifests
        $loader = ConfigLoader::inst();
        if ($loader->countManifests() <= 1) {
            user_error(
                "Unable to unnest root Config, please make sure you don't have mis-matched nest/unnest",
                E_USER_WARNING
            );
        } else {
            $loader->popManifest();
        }
        return static::inst();
    }
public static function unnest()
    {
        // Unnest unless we would be left at 0 manifests
        $loader = ConfigLoader::inst();
        if ($loader->countManifests() <= 1) {
            user_error(
                "Unable to unnest root Config, please make sure you don't have mis-matched nest/unnest",
                E_USER_WARNING
            );
        } else {
            $loader->popManifest();
        }
        return static::inst();
    }
public static function unnest ( ) { // Unnest unless we would be left at 0 manifests $ loader = ConfigLoader :: inst ( ) ; if ( $ loader -> countManifests ( ) <= 1 ) { user_error ( "Unable to unnest root Config, please make sure you don't have mis-matched nest/unnest" , E_USER_WARNING ) ; } else { $ loader -> popManifest ( ) ; } return static :: inst ( ) ; }
Change the active Config back to the Config instance the current active
Config object was copied from.

@return ConfigCollectionInterface
Change the active Config back to the Config instance the current active Config object was copied from .