KernelEvent
class KernelEvent extends Event
Base class for events thrown in the HttpKernel component.
Methods
Returns the kernel in which this event was thrown.
Returns the request the kernel is currently processing.
Returns the request type the kernel is currently processing.
Checks if this is a master request.
Details
in Event at line 42
bool
isPropagationStopped()
Returns whether further event listeners should be triggered.
in Event at line 54
stopPropagation()
Stops the propagation of the event to further event listeners.
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().
at line 35
__construct(HttpKernelInterface $kernel, Request $request, int|null $requestType)
at line 47
HttpKernelInterface
getKernel()
Returns the kernel in which this event was thrown.
at line 57
Request
getRequest()
Returns the request the kernel is currently processing.
at line 68
int
getRequestType()
Returns the request type the kernel is currently processing.
at line 78
bool
isMasterRequest()
Checks if this is a master request.