DebugSubscriber
in package
implements
EventSubscriberInterface
Class XDebugSubscriber
Table of Contents
Interfaces
- EventSubscriberInterface
Properties
- $debugLog : LogObserver
- $enableStats : bool
Methods
- __construct() : mixed
- getSubscribedEvents() : array<string|int, mixed>
- onApiPrepare() : mixed
- onApiRespond() : mixed
Properties
$debugLog
private
LogObserver
$debugLog
$enableStats
private
bool
$enableStats
Methods
__construct()
public
__construct() : mixed
getSubscribedEvents()
public
static getSubscribedEvents() : array<string|int, mixed>
Return values
array<string|int, mixed>onApiPrepare()
public
onApiPrepare(PrepareEvent $event) : mixed
Parameters
- $event : PrepareEvent
onApiRespond()
public
onApiRespond(RespondEvent $event) : mixed
Parameters
- $event : RespondEvent
-
API response event.