public function getContentsOfCredentialsFile() : string { $contents = [$this->host, $this->port, $this->dbName, $this->userName, $this->password]; return implode(':', $contents); }