class kernel_exception_subscriber implements EventSubscriberInterface

Properties

protected bool $debug

Set to true to show full exception messages

protected template $template

Template object

protected language $language

Language object

protected type_cast_helper $type_caster

Methods

__construct(template $template, language $language, bool $debug = false)

Construct method

null
on_kernel_exception(ExceptionEvent $event)

This listener is run when the KernelEvents::EXCEPTION event is triggered

static 
getSubscribedEvents()

No description

Details

at line 57
__construct(template $template, language $language, bool $debug = false)

Construct method

Parameters

template $template

Template object

language $language

Language object

bool $debug

Set to true to show full exception messages

at line 71
null on_kernel_exception(ExceptionEvent $event)

This listener is run when the KernelEvents::EXCEPTION event is triggered

Parameters

ExceptionEvent $event

Return Value

null

at line 133
static getSubscribedEvents()

No description