class Illuminate / Mail / Events / MessageSent
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

MessageSent

Properties

public

$sent SentMessage

The message that was sent.

Default: null
public

$data array

The message data.

Default: null

Methods

public

__construct ( SentMessage $message , array $data ) : void

Create a new event instance.

Parameters

public

__serialize ( ) : array

Get the serializable representation of the object.

public

__unserialize ( array $data ) : void

Marshal the object from its serialized data.

Parameters

  • $data array
public

__get ( $key ) : mixed

Dynamically get the original message.

Parameters

  • $key string