ClientResponseEvent
FinalYes
Event dispatched when the server receives a client response to a prior outgoing request.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- getId() : string|int|null
- getResponse() : Response<string|int, mixed>|Error
- getSession() : SessionInterface
- isError() : bool
Properties
$response read-only
private
Response|Error
$response
$session read-only
private
SessionInterface
$session
Methods
__construct()
public
__construct(Response<string|int, mixed>|Error $response, SessionInterface $session) : mixed
Parameters
- $response : Response<string|int, mixed>|Error
- $session : SessionInterface
getId()
public
getId() : string|int|null
Return values
string|int|nullgetResponse()
public
getResponse() : Response<string|int, mixed>|Error
Return values
Response<string|int, mixed>|ErrorgetSession()
public
getSession() : SessionInterface
Return values
SessionInterfaceisError()
public
isError() : bool