Core Theme Components

ExceptionListener

Listener for exceptions. If Wordpress is available, the WP function `wp_die` will be used to create the response body.

Table of Contents

$logger  : LoggerInterface
__construct()  : mixed
onKernelException()  : void

Properties

Methods

__construct()

public __construct(LoggerInterface $logger) : mixed
Parameters
$logger : LoggerInterface
Return values
mixed

onKernelException()

public onKernelException(ExceptionEvent $event) : void
Parameters
$event : ExceptionEvent
Return values
void

Search results