Explore Server Side Testing SDK for PHP

RedisConnectionConfig

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>

Properties

Methods

__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>
Return values
self

getContext()

public getContext() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results