KMP PHP API Reference

PostgresClientEnvironment
in package

FinalYes

Apply the selected datasource's credentials and TLS policy to libpq subprocesses.

Table of Contents

Methods

fromConfig()  : array<string, string>

Methods

fromConfig()

public static fromConfig(array<string, mixed> $config, SensitiveString $password) : array<string, string>
Parameters
$config : array<string, mixed>

Selected datasource configuration

$password : SensitiveString

Selected database password

Return values
array<string, string>

Process environment; never log or persist this value

On this page

Search results