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

getEnvironmentVariablesForDumpCommand() protected method

protected getEnvironmentVariablesForDumpCommand ( string $temporaryCredentialsFile ) : array
$temporaryCredentialsFile string
return array
    protected function getEnvironmentVariablesForDumpCommand(string $temporaryCredentialsFile) : array
    {
        return ['PGPASSFILE' => $temporaryCredentialsFile, 'PGDATABASE' => $this->dbName];
    }