src/Manager.php
private function getClient($environment)
    {
        if (empty($this->client[$environment])) {
            $this->client[$environment] = new Client(
                $this->config->getDsn($environment),
                $this->config->getConnectOptions($environment)
            );
            
            $this->client[$environment]->useDatabase($this->config->getDefaultDatabaseName($environment));
        }
        
        return $this->client[$environment];
    }
private function getClient($environment)
    {
        if (empty($this->client[$environment])) {
            $this->client[$environment] = new Client(
                $this->config->getDsn($environment),
                $this->config->getConnectOptions($environment)
            );
            
            $this->client[$environment]->useDatabase($this->config->getDefaultDatabaseName($environment));
        }
        
        return $this->client[$environment];
    }
@param string $environment

@return Client