public static function normalizeConnections(array $connections)
    {
        foreach ($connections as $name => $connection) {
            if ($name === 'options' || $name === 'clusters') {
                continue;
            }

            $connections[$name] = static::normalizeConnection($connection);
        }

        return $connections;
    }
public static function normalizeConnections(array $connections)
    {
        foreach ($connections as $name => $connection) {
            if ($name === 'options' || $name === 'clusters') {
                continue;
            }

            $connections[$name] = static::normalizeConnection($connection);
        }

        return $connections;
    }
public static function normalizeConnections ( array $ connections ) { foreach ( $ connections as $ name => $ connection ) { if ( $ name === 'options' || $ name === 'clusters' ) { continue ; } $ connections [ $ name ] = static :: normalizeConnection ( $ connection ) ; } return $ connections ; }
Create single host entries for any host definitions that specify
multiple hosts in the provided set of connection configurations.

@param array $connections The set of connection configs containing host
definitions to normalize

@return array The normalized Redis Sentinel connection configuration
Create single host entries for any host definitions that specify multiple hosts in the provided set of connection configurations .