class MiddlewareListener implements EventSubscriberInterface

Manages the route middlewares.

Properties

protected $app

Methods

__construct(Application $app)

Constructor.

onKernelRequest(GetResponseEvent $event)

Runs before filters.

onKernelResponse(FilterResponseEvent $event)

Runs after filters.

static 
getSubscribedEvents()

No description

Details

at line 35
__construct(Application $app)

Constructor.

Parameters

Application $app An Application instance

at line 45
onKernelRequest(GetResponseEvent $event)

Runs before filters.

Parameters

GetResponseEvent $event The event to handle

at line 70
onKernelResponse(FilterResponseEvent $event)

Runs after filters.

Parameters

FilterResponseEvent $event The event to handle

at line 88
static getSubscribedEvents()