Documentation

DebugProcessor
in package
implements DebugLoggerInterface, ResetInterface

Table of Contents

Interfaces

DebugLoggerInterface
DebugLoggerInterface.
ResetInterface
Provides a way to reset an object to its initial state.

Properties

$errorCount  : array<string|int, mixed>
$records  : array<string|int, mixed>
$requestStack  : mixed

Methods

__construct()  : mixed
__invoke()  : mixed
clear()  : mixed
Removes all log records.
countErrors()  : int
Returns the number of errors.
getLogs()  : array<string|int, mixed>
Returns an array of logs.
reset()  : mixed

Properties

Methods

__invoke()

public __invoke(array<string|int, mixed> $record) : mixed
Parameters
$record : array<string|int, mixed>

countErrors()

Returns the number of errors.

public countErrors([Request $request = null ]) : int
Parameters
$request : Request = null
Return values
int

getLogs()

Returns an array of logs.

public getLogs([Request $request = null ]) : array<string|int, mixed>
Parameters
$request : Request = null
Return values
array<string|int, mixed>

        
On this page

Search results