Documentation

Connection
in package

Forwards serialized Data clones to a server.

Tags
author

Maxime Steinhausser maxime.steinhausser@gmail.com

Table of Contents

$contextProviders  : mixed
$host  : mixed
$socket  : resource|null
__construct()  : mixed
getContextProviders()  : array<string|int, mixed>
write()  : bool
createSocket()  : mixed
nullErrorHandler()  : mixed

Properties

$contextProviders

private mixed $contextProviders

Methods

__construct()

public __construct(string $host[, array<string|int, ContextProviderInterface$contextProviders = [] ]) : mixed
Parameters
$host : string

The server host

$contextProviders : array<string|int, ContextProviderInterface> = []

Context providers indexed by context name

Return values
mixed

getContextProviders()

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

createSocket()

private createSocket() : mixed
Return values
mixed

nullErrorHandler()

private static nullErrorHandler(int $t, string $m) : mixed
Parameters
$t : int
$m : string
Return values
mixed

Search results