LazyResponseEvent
extends RequestEvent
in package
Wraps a lazily computed response in a signaling exception.
Tags
Table of Contents
- $event : mixed
- $kernel : mixed
- $propagationStopped : mixed
- $request : mixed
- $requestType : mixed
- $response : mixed
- __construct() : mixed
- getKernel() : HttpKernelInterface
- {@inheritdoc}
- getRequest() : Request
- {@inheritdoc}
- getRequestType() : int
- {@inheritdoc}
- getResponse() : Response|null
- Returns the response object.
- hasResponse() : bool
- Returns whether a response was set.
- isMasterRequest() : bool
- {@inheritdoc}
- isPropagationStopped() : bool
- setResponse() : mixed
- {@inheritdoc}
- stopPropagation() : mixed
Properties
$event
private
mixed
$event
$kernel
private
mixed
$kernel
$propagationStopped
private
mixed
$propagationStopped
= false
$request
private
mixed
$request
$requestType
private
mixed
$requestType
$response
private
mixed
$response
Methods
__construct()
public
__construct(parent $event) : mixed
Parameters
- $event : parent
Return values
mixed —getKernel()
{@inheritdoc}
public
getKernel() : HttpKernelInterface
Return values
HttpKernelInterface —getRequest()
{@inheritdoc}
public
getRequest() : Request
Return values
Request —getRequestType()
{@inheritdoc}
public
getRequestType() : int
Return values
int —getResponse()
Returns the response object.
public
getResponse() : Response|null
Return values
Response|null —hasResponse()
Returns whether a response was set.
public
hasResponse() : bool
Return values
bool —Whether a response was set
isMasterRequest()
{@inheritdoc}
public
isMasterRequest() : bool
Return values
bool —isPropagationStopped()
public
isPropagationStopped() : bool
Tags
Return values
bool —Whether propagation was already stopped for this event
setResponse()
{@inheritdoc}
public
setResponse(Response $response) : mixed
Parameters
- $response : Response
Return values
mixed —stopPropagation()
public
stopPropagation() : mixed