Documentation

MessengerDataCollector extends DataCollector
in package
implements LateDataCollectorInterface

DataCollector.

Tags
author

Samuel Roze samuel.roze@gmail.com

final

Table of Contents

Interfaces

LateDataCollectorInterface
LateDataCollectorInterface.

Properties

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

Methods

__sleep()  : array<string|int, mixed>
__wakeup()  : mixed
collect()  : mixed
{@inheritdoc}
getBuses()  : array<string|int, mixed>
getExceptionsCount()  : int
getMessages()  : array<string|int, mixed>
getName()  : string
{@inheritdoc}
lateCollect()  : mixed
Collects data as late as possible.
registerBus()  : mixed
reset()  : mixed
{@inheritdoc}
cloneVar()  : Data
Converts the variable into a serializable Data instance.
getCasters()  : array<string|int, callable>
collectMessage()  : mixed

Properties

Methods

__sleep()

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

getExceptionsCount()

public getExceptionsCount([string $bus = null ]) : int
Parameters
$bus : string = null
Return values
int

getMessages()

public getMessages([string $bus = null ]) : array<string|int, mixed>
Parameters
$bus : string = null
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

collectMessage()

private collectMessage(string $busName, array<string|int, mixed> $tracedMessage) : mixed
Parameters
$busName : string
$tracedMessage : array<string|int, mixed>

        
On this page

Search results