W3cubDocs

/Laravel 5.4

Notification

class Notification (View source)

Traits

SerializesModels
SerializesAndRestoresModelIdentifiers

Properties

string $id The unique identifier for the notification.

Methods

array __sleep()

Prepare the instance for serialization.

from SerializesModels
void __wakeup()

Restore the model after serialization.

from SerializesModels
array broadcastOn()

Get the channels the event should broadcast on.

Details

array __sleep()

Prepare the instance for serialization.

Return Value

array

void __wakeup()

Restore the model after serialization.

Return Value

void

array broadcastOn()

Get the channels the event should broadcast on.

Return Value

array

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Notifications/Notification.html