diff --git a/src/ConnectionConfig.php b/src/ConnectionConfig.php index 62bb59b..ed796aa 100644 --- a/src/ConnectionConfig.php +++ b/src/ConnectionConfig.php @@ -66,28 +66,6 @@ abstract class ConnectionConfig $this->database = $database; } - public function getConnectionString(): string - { - $chunks = [ - "host=" . $this->host, - "port=" . $this->port, - ]; - - if ($this->user !== null) { - $chunks[] = "user=" . $this->user; - } - - if ($this->password !== null) { - $chunks[] = "password=" . $this->password; - } - - if ($this->database !== null) { - $chunks[] = "db=" . $this->database; - } - - return \implode(" ", $chunks); - } - final public function getHost(): string { return $this->host;