HumHub Documentation (unofficial)

MessageEvent extends Event
in package

FinalYes

Allows the transformation of a Message and the Envelope before the email is sent.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Properties

$envelope  : mixed
$message  : mixed
$propagationStopped  : mixed
$queued  : mixed
$transport  : mixed

Methods

__construct()  : mixed
getEnvelope()  : Envelope
getMessage()  : RawMessage
getTransport()  : string
isPropagationStopped()  : bool
Is propagation stopped?
isQueued()  : bool
setEnvelope()  : void
setMessage()  : void
stopPropagation()  : void
Stops the propagation of the event to further event listeners.

Properties

$propagationStopped

private mixed $propagationStopped = false

Methods

getTransport()

public getTransport() : string
Return values
string

isPropagationStopped()

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().


        
On this page

Search results