Documentation

CacheDataCollector extends DataCollector
in package
implements LateDataCollectorInterface

Tags
author

Aaron Scherer aequasi@gmail.com

author

Tobias Nyholm tobias.nyholm@gmail.com

final

Table of Contents

Interfaces

LateDataCollectorInterface

Properties

$instances  : array<string|int, TraceableAdapter>

Methods

addInstance()  : void
collect()  : void
getAdapters()  : array<string|int, mixed>
Method returns all logged Cache adapter classes.
getCalls()  : mixed
Method returns all logged Cache call objects.
getName()  : string
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()  : void
reset()  : void
calculateStatistics()  : array<string|int, mixed>
calculateTotalStatistics()  : array<string|int, mixed>

Properties

Methods

collect()

public collect(Request $request, Response $response[, Throwable|null $exception = null ]) : void
Parameters
$request : Request
$response : Response
$exception : Throwable|null = null

getAdapters()

Method returns all logged Cache adapter classes.

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

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