LogoutEvent
extends Event
in package
Event is the base class for classes containing event data.
Tags
Table of Contents
Properties
- $propagationStopped : bool
- $request : mixed
- $response : mixed
- $token : mixed
Methods
- __construct() : mixed
- getRequest() : Request
- getResponse() : Response|null
- getToken() : TokenInterface|null
- isPropagationStopped() : bool
- Is propagation stopped?
- setResponse() : void
- stopPropagation() : void
- Stops the propagation of the event to further event listeners.
Properties
$propagationStopped
private
bool
$propagationStopped
= false
$request
private
mixed
$request
$response
private
mixed
$response
= null
$token
private
mixed
$token
Methods
__construct()
public
__construct(Request $request, TokenInterface|null $token) : mixed
Parameters
- $request : Request
- $token : TokenInterface|null
getRequest()
public
getRequest() : Request
Return values
RequestgetResponse()
public
getResponse() : Response|null
Return values
Response|nullgetToken()
public
getToken() : TokenInterface|null
Return values
TokenInterface|nullisPropagationStopped()
Is propagation stopped?
public
isPropagationStopped() : bool
Return values
bool —True if the Event is complete and no further listeners should be called. False to continue calling listeners.
setResponse()
public
setResponse(Response $response) : void
Parameters
- $response : Response
stopPropagation()
Stops the propagation of the event to further event listeners.
public
stopPropagation() : void
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().