public function prependResourceName(
        array $loadedConfig,
        string $resName
    ): array {
        $prefixedConf = [];
        foreach ($loadedConfig as $key => $value) {
            $prefixedConf["{$resName}.{$key}"] = $value;
        }
        return $prefixedConf;
    }
public function prependResourceName(
        array $loadedConfig,
        string $resName
    ): array {
        $prefixedConf = [];
        foreach ($loadedConfig as $key => $value) {
            $prefixedConf["{$resName}.{$key}"] = $value;
        }
        return $prefixedConf;
    }
public function prependResourceName ( array $ loadedConfig , string $ resName ) : array { $ prefixedConf = [ ] ; foreach ( $ loadedConfig as $ key => $ value ) { $ prefixedConf [ "{$resName}.{$key}" ] = $ value ; } return $ prefixedConf ; }
Prepend resource name to keys

Prepends the resource name to the keys defined in loaded configuration
array.

@param array $loadedConfig The loaded config
@param string $resName Resource name, that is prepended to the keys
@return array Loaded config with keys prepended by resource name
Prepend resource name to keys