Property | Type | Description | |
---|---|---|---|
$exceptionController |
Method | Description | |
---|---|---|
__construct ( |
Constructor. | |
getSubscribedEvents ( ) : array | Return the events to subscribe to. | |
onBootException ( |
Handle boot initialisation exceptions. | |
onKernelException ( |
Handle errors thrown in the application. |
Method | Description | |
---|---|---|
isJsonRequest ( |
Checks if the request content type is JSON. |
public __construct ( |
||
$config | ||
$exceptionController | ||
$logger | Psr\Log\LoggerInterface |
public static getSubscribedEvents ( ) : array | ||
return | array |
protected isJsonRequest ( |
||
$request | ||
return | boolean |
public onBootException ( |
||
$event |
public onKernelException ( |
||
$event |