Spatie\DbDumper\Databases\PostgreSql::getContentsOfCredentialsFile PHP Method

getContentsOfCredentialsFile() public method

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