class MaintenanceListener

An event that throws a maintenace page as a response to a request if we're on maintenance mode

Methods

__construct(bool $maintenance)

Construct new MaintenanceListener

onKernelRequest(GetResponseEvent $event)

No description

Details

at line line 28
__construct(bool $maintenance)

Construct new MaintenanceListener

Parameters

bool $maintenance Whether maintenance mode is enabled

at line line 33
onKernelRequest(GetResponseEvent $event)

Parameters

GetResponseEvent $event