FailedMessageEvent
extends Event
in package
FinalYes
Event is the base class for classes containing event data.
Tags
Table of Contents
Properties
- $error : Throwable
- $message : mixed
- $propagationStopped : bool
Methods
- __construct() : mixed
- getError() : Throwable
- getMessage() : MessageInterface
- isPropagationStopped() : bool
- Is propagation stopped?
- stopPropagation() : void
- Stops the propagation of the event to further event listeners.
Properties
$error
private
Throwable
$error
$message
private
mixed
$message
$propagationStopped
private
bool
$propagationStopped
= false
Methods
__construct()
public
__construct(MessageInterface $message, Throwable $error) : mixed
Parameters
- $message : MessageInterface
- $error : Throwable
getError()
public
getError() : Throwable
Return values
ThrowablegetMessage()
public
getMessage() : MessageInterface
Return values
MessageInterfaceisPropagationStopped()
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.
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().