private function processMainConfiguration(array &$serviceConnArguments, $resolvedConnConfig)
    {
        if (array_key_exists('master', $serviceConnArguments)) {
            $this->replaceConnectionArguments($serviceConnArguments['master'], $resolvedConnConfig);
        } elseif (array_key_exists('global', $serviceConnArguments)) {
            $this->replaceConnectionArguments($serviceConnArguments['global'], $resolvedConnConfig);
        } else {
            $this->replaceConnectionArguments($serviceConnArguments, $resolvedConnConfig);
        }
    }