Beta version

class LocaleSubscriber implements EventSubscriberInterface

Event dispatched to setup theme configuration at kernel request.

Methods

__construct(Kernel $kernel, Stopwatch $stopwatch)

No description

static array
getSubscribedEvents()

No description

onKernelRequest(GetResponseEvent $event)

After a controller has been matched. We need to inject current Kernel instance and main DI container.

Details

at line 50
__construct(Kernel $kernel, Stopwatch $stopwatch)

Parameters

Kernel $kernel
Stopwatch $stopwatch

at line 59
static array getSubscribedEvents()

Return Value

array

at line 75
onKernelRequest(GetResponseEvent $event)

After a controller has been matched. We need to inject current Kernel instance and main DI container.

Parameters

GetResponseEvent $event