Documentation

HttpClientDataCollector extends DataCollector
in package
implements LateDataCollectorInterface

FinalYes

DataCollector.

Tags
author

Jérémy Romey jeremy@free-agent.fr

Table of Contents

Interfaces

LateDataCollectorInterface
LateDataCollectorInterface.

Properties

$data  : array<string|int, mixed>|Data
$clients  : array<string|int, TraceableHttpClient>
$cloner  : mixed

Methods

__sleep()  : array<string|int, mixed>
__wakeup()  : mixed
collect()  : mixed
{@inheritdoc}
getClients()  : array<string|int, mixed>
getErrorCount()  : int
getName()  : string
{@inheritdoc}
getRequestCount()  : int
lateCollect()  : mixed
Collects data as late as possible.
registerClient()  : mixed
reset()  : mixed
cloneVar()  : Data
Converts the variable into a serializable Data instance.
getCasters()  : array<string|int, callable>
collectOnClient()  : array<string|int, mixed>

Properties

Methods

__sleep()

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

cloneVar()

Converts the variable into a serializable Data instance.

protected cloneVar(mixed $var) : Data

This array can be displayed in the template using the VarDumper component.

Parameters
$var : mixed
Return values
Data

getCasters()

protected getCasters() : array<string|int, callable>
Return values
array<string|int, callable>

The casters to add to the cloner


        
On this page

Search results