Factory/ClientFactory.php
public function create(array $names): ClientInterface
    {
        // Create a new connection manager specific for this client
        $clientConnectionManager = new ConnectionManager();
        foreach ($names as $name) {
            $clientConnectionManager->registerExistingConnection($name, $this->connectionManager->getConnection($name));
        }

        $firstName = reset($names);
        $clientConnectionManager->setMaster($firstName);

        return new Client($clientConnectionManager, $this->eventDispatcher);
    }
public function create(array $names): ClientInterface
    {
        // Create a new connection manager specific for this client
        $clientConnectionManager = new ConnectionManager();
        foreach ($names as $name) {
            $clientConnectionManager->registerExistingConnection($name, $this->connectionManager->getConnection($name));
        }

        $firstName = reset($names);
        $clientConnectionManager->setMaster($firstName);

        return new Client($clientConnectionManager, $this->eventDispatcher);
    }
Build an Client form multiple connection.

@param string $names

@return ClientInterface