phpBB API Documentation
Class

phpbb\event\kernel_exception_subscriber

class kernel_exception_subscriber implements EventSubscriberInterface

Methods

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

Construct method

null on_kernel_exception(GetResponseForExceptionEvent $event)

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

static  getSubscribedEvents()

Details

at line 57
public __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
public null on_kernel_exception(GetResponseForExceptionEvent $event)

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

Parameters

GetResponseForExceptionEvent $event

Return Value

null

at line 133
static public getSubscribedEvents()