FileAccess Orion

FilterResponseEvent extends KernelEvent
in package

Base class for events thrown in the HttpKernel component.

Tags
deprecated

since Symfony 4.3, use ResponseEvent instead

Table of Contents

$kernel  : mixed
$propagationStopped  : mixed
$request  : mixed
$requestType  : mixed
$response  : mixed
__construct()  : mixed
getKernel()  : HttpKernelInterface
Returns the kernel in which this event was thrown.
getRequest()  : Request
Returns the request the kernel is currently processing.
getRequestType()  : int
Returns the request type the kernel is currently processing.
getResponse()  : Response
Returns the current response object.
isMasterRequest()  : bool
Checks if this is a master request.
isPropagationStopped()  : bool
setResponse()  : mixed
Sets a new response object.
stopPropagation()  : mixed

Properties

$propagationStopped

private mixed $propagationStopped = false

Methods

getRequest()

Returns the request the kernel is currently processing.

public getRequest() : Request
Return values
Request

getRequestType()

Returns the request type the kernel is currently processing.

public getRequestType() : int
Return values
int

One of HttpKernelInterface::MASTER_REQUEST and HttpKernelInterface::SUB_REQUEST

isMasterRequest()

Checks if this is a master request.

public isMasterRequest() : bool
Return values
bool

True if the request is a master request

isPropagationStopped()

public isPropagationStopped() : bool
Tags
deprecated

since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead

Return values
bool

Whether propagation was already stopped for this event

stopPropagation()

public stopPropagation() : mixed
Tags
deprecated

since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead

Return values
mixed

Search results