NotificationSender (Notifications)
NotificationSender
class NotificationSender (View source)
Methods
void | __construct(ChannelManager $manager, Dispatcher $bus, Dispatcher $events) Create a new notification sender instance. | |
void | send(Collection|array|mixed $notifiables, mixed $notification) Send the given notification to the given notifiable entities. | |
void | sendNow(Collection|array|mixed $notifiables, mixed $notification, array $channels = null) Send the given notification immediately. |
Details
void __construct(ChannelManager $manager, Dispatcher $bus, Dispatcher $events)
Create a new notification sender instance.
void send(Collection|array|mixed $notifiables, mixed $notification)
Send the given notification to the given notifiable entities.
void sendNow(Collection|array|mixed $notifiables, mixed $notification, array $channels = null)
Send the given notification immediately.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Notifications/NotificationSender.html