ServerDumper
in package
implements
DataDumperInterface
ServerDumper forwards serialized Data clones to a server.
Tags
Interfaces, Classes and Traits
- DataDumperInterface
- DataDumperInterface for dumping Data objects.
Table of Contents
- $connection : mixed
- $wrappedDumper : mixed
- __construct() : mixed
- dump() : mixed
- getContextProviders() : array<string|int, mixed>
Properties
$connection
private
mixed
$connection
$wrappedDumper
private
mixed
$wrappedDumper
Methods
__construct()
public
__construct(string $host[, DataDumperInterface|null $wrappedDumper = null ][, array<string|int, ContextProviderInterface> $contextProviders = [] ]) : mixed
Parameters
- $host : string
-
The server host
- $wrappedDumper : DataDumperInterface|null = null
-
A wrapped instance used whenever we failed contacting the server
- $contextProviders : array<string|int, ContextProviderInterface> = []
-
Context providers indexed by context name
Return values
mixed —dump()
public
dump(Data $data) : mixed
Parameters
- $data : Data
Return values
mixed —getContextProviders()
public
getContextProviders() : array<string|int, mixed>