Beta version

class ControllerMatchedSubscriber implements EventSubscriberInterface

Event dispatched after a route has been matched.

Methods

__construct(Kernel $kernel, Stopwatch $stopwatch = null)

No description

static array
getSubscribedEvents()

No description

onControllerMatched(FilterControllerEvent $event)

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

Details

at line 53
__construct(Kernel $kernel, Stopwatch $stopwatch = null)

Parameters

Kernel $kernel
Stopwatch $stopwatch

at line 62
static array getSubscribedEvents()

Return Value

array

at line 75
onControllerMatched(FilterControllerEvent $event)

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

Parameters

FilterControllerEvent $event