mediatekformation

LazyResponseEvent extends RequestEvent
in package

Wraps a lazily computed response in a signaling exception.

Tags
author

Nicolas Grekas p@tchwork.com

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

$propagationStopped

private mixed $propagationStopped = false

Methods

__construct()

public __construct(parent $event) : mixed
Parameters
$event : parent
Return values
mixed

getRequest()

{@inheritdoc}

public getRequest() : Request
Return values
Request

getRequestType()

{@inheritdoc}

public getRequestType() : int
Return values
int

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
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