W3cubDocs

/Laravel 8

MessageSent

class MessageSent (View source)

Properties

Swift_Message $message The Swift message instance.
array $data The message data.

Methods

void __construct(Swift_Message $message, array $data = [])

Create a new event instance.

array __serialize()

Get the serializable representation of the object.

void __unserialize(array $data)

Marshal the object from its serialized data.

Details

void __construct(Swift_Message $message, array $data = [])

Create a new event instance.

Parameters

Swift_Message $message
array $data

Return Value

void

array __serialize()

Get the serializable representation of the object.

Return Value

array

void __unserialize(array $data)

Marshal the object from its serialized data.

Parameters

array $data

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Mail/Events/MessageSent.html