Table of Contents
Properties
-
$host
: string
-
$persistentId
: string|null
-
$port
: int
-
$readTimeout
: int
-
$retryInterval
: int
-
$timeout
: int
-
$password
: string|null
-
$user
: string|null
Methods
-
__construct()
: mixed
-
createFromArray()
: self
-
getContext()
: array<string|int, mixed>
$host
public
string
$host
$persistentId
public
string|null
$persistentId
= ""
$port
public
int
$port
$readTimeout
public
int
$readTimeout
$retryInterval
public
int
$retryInterval
$timeout
public
int
$timeout
$password
private
string|null
$password
$user
private
string|null
$user
__construct()
public
__construct(string $host, int $port[, int $timeout = 0 ][, int $retryInterval = 0 ][, int $readTimeout = 0 ][, mixed $user = null ][, mixed $password = null ][, mixed $persistentId = "" ]) : mixed
Parameters
-
$host
: string
-
-
$port
: int
-
-
$timeout
: int
= 0
-
-
$retryInterval
: int
= 0
-
-
$readTimeout
: int
= 0
-
-
$user
: mixed
= null
-
-
$password
: mixed
= null
-
-
$persistentId
: mixed
= ""
-
createFromArray()
public
static createFromArray(array<string|int, mixed> $config) : self
Parameters
-
$config
: array<string|int, mixed>
-
getContext()
public
getContext() : array<string|int, mixed>
Return values
array<string|int, mixed>