class ThemesSubscriber implements EventSubscriberInterface (View source)

Event dispatched to setup theme configuration at kernel request.

Methods

__construct(Kernel $kernel, Stopwatch $stopwatch)

No description

static array
getSubscribedEvents()

No description

onCommand(ConsoleCommandEvent $event)

No description

onKernelRequest(GetResponseEvent $event)

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

Details

__construct(Kernel $kernel, Stopwatch $stopwatch)

Parameters

Kernel $kernel
Stopwatch $stopwatch

static array getSubscribedEvents()

Return Value

array

onCommand(ConsoleCommandEvent $event)

Parameters

ConsoleCommandEvent $event

onKernelRequest(GetResponseEvent $event)

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

Parameters

GetResponseEvent $event