ZoneSubscriber
class ZoneSubscriber implements EventSubscriberInterface (View source)
Constants
PRIORITY |
|
Methods
void
onKernelRequest(RequestEvent $event)
Kernel request listener callback.
string
setZone(Request $request)
Sets the request's zone if needed and returns it.
string
determineZone(Request $request)
Determine the zone and return it.
static array
getSubscribedEvents()
Return the events to subscribe to.
Details
void
onKernelRequest(RequestEvent $event)
Kernel request listener callback.
string
setZone(Request $request)
Sets the request's zone if needed and returns it.
protected string
determineZone(Request $request)
Determine the zone and return it.
static array
getSubscribedEvents()
Return the events to subscribe to.