FileAccess Orion

CacheDataCollector extends DataCollector
in package
implements LateDataCollectorInterface

DataCollector.

Tags
author

Aaron Scherer aequasi@gmail.com

author

Tobias Nyholm tobias.nyholm@gmail.com

final

Interfaces, Classes, Traits and Enums

LateDataCollectorInterface
LateDataCollectorInterface.

Table of Contents

$data  : array<string|int, mixed>|Data
$cloner  : ClonerInterface
$instances  : array<string|int, TraceableAdapter>
__sleep()  : array<string|int, mixed>
__wakeup()  : mixed
addInstance()  : mixed
collect()  : mixed
{@inheritdoc}
getCalls()  : mixed
Method returns all logged Cache call objects.
getName()  : mixed
{@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
serialize()  : mixed
unserialize()  : 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>

__wakeup()

public __wakeup() : mixed
Return values
mixed

getCalls()

Method returns all logged Cache call objects.

public getCalls() : mixed
Return values
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>

lateCollect()

Collects data as late as possible.

public lateCollect() : mixed
Return values
mixed

serialize()

public serialize() : mixed
Tags
deprecated

since Symfony 4.3, store all the serialized state in the data property instead

Return values
mixed

unserialize()

public unserialize(mixed $data) : mixed
Parameters
$data : mixed
Tags
deprecated

since Symfony 4.3, store all the serialized state in the data property instead

Return values
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>

Search results