private function processShardConfigurationsIfExist(array &$serviceConnArguments, array $resolvedConnConfig)
    {
        if (array_key_exists('shards', $serviceConnArguments)) {
            foreach ($serviceConnArguments['shards'] as $shardName => &$shardConfig) {
                $this->replaceConnectionArguments($shardConfig, $resolvedConnConfig['shards'][$shardName]);
            }
        }
    }
private function processShardConfigurationsIfExist(array &$serviceConnArguments, array $resolvedConnConfig)
    {
        if (array_key_exists('shards', $serviceConnArguments)) {
            foreach ($serviceConnArguments['shards'] as $shardName => &$shardConfig) {
                $this->replaceConnectionArguments($shardConfig, $resolvedConnConfig['shards'][$shardName]);
            }
        }
    }
private function processShardConfigurationsIfExist ( array & $ serviceConnArguments , array $ resolvedConnConfig ) { if ( array_key_exists ( 'shards' , $ serviceConnArguments ) ) { foreach ( $ serviceConnArguments [ 'shards' ] as $ shardName => & $ shardConfig ) { $ this -> replaceConnectionArguments ( $ shardConfig , $ resolvedConnConfig [ 'shards' ] [ $ shardName ] ) ; } } }
Process shard configurations if they exist.

@param array $serviceConnArguments
@param array $resolvedConnConfig
Process shard configurations if they exist .