Documentation

CacheDataCollector extends DataCollector
in package
implements LateDataCollectorInterface

DataCollector.

Tags
author

Aaron Scherer aequasi@gmail.com

author

Tobias Nyholm tobias.nyholm@gmail.com

final

Table of Contents

Interfaces

LateDataCollectorInterface
LateDataCollectorInterface.

Properties

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

Methods

__sleep()  : array<string|int, mixed>
__wakeup()  : mixed
addInstance()  : mixed
collect()  : mixed
{@inheritdoc}
getCalls()  : mixed
Method returns all logged Cache call objects.
getName()  : string
{@inheritdoc}
getStatistics()  : array<string|int, mixed>
Method returns amount of logged Cache reads: "get" calls.
getTotals()  : array<string|int, mixed>
Method returns the statistic totals.
lateCollect()  : mixed
Collects data as late as possible.
reset()  : mixed
cloneVar()  : Data
Converts the variable into a serializable Data instance.
getCasters()  : array<string|int, callable>
calculateStatistics()  : array<string|int, mixed>
calculateTotalStatistics()  : array<string|int, mixed>

Properties

Methods

__sleep()

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

getCalls()

Method returns all logged Cache call objects.

public getCalls() : mixed

getStatistics()

Method returns amount of logged Cache reads: "get" calls.

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

getTotals()

Method returns the statistic totals.

public getTotals() : 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

calculateStatistics()

private calculateStatistics() : array<string|int, mixed>
Return values
array<string|int, mixed>

calculateTotalStatistics()

private calculateTotalStatistics() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results