class
Illuminate
/
Notifications
/
SendQueuedNotifications
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
SendQueuedNotifications
Implements
Uses
Properties
public
$notifiables Illuminate\...\Collection
The notifiable entities that should receive the notification.
Default: null
public
$channels array
All of the channels to send the notification to.
Default: null
public
$tries int
The number of times the job may be attempted.
Default: null
public
$timeout int
The number of seconds the job can run before timing out.
Default: null
public
$maxExceptions int
The maximum number of unhandled exceptions to allow before failing.
Default: null
public
$shouldBeEncrypted bool
Indicates if the job should be encrypted.
Default: false
Methods
public
__construct ( $notifiables , $notification , array $channels ) : void
Create a new job instance.
Parameters
- $notifiables Notifiable |Illuminate\...\Collection
- $notification Notification
- $channels array|null
protected
wrapNotifiables ( $notifiables ) : Illuminate\...\Collection
Wrap the notifiable(s) in a collection.
Parameters
- $notifiables Notifiable |Illuminate\...\Collection
public
handle ( ChannelManager $manager ) : void
Send the notifications.
Parameters
- $manager ChannelManager
public
displayName ( ) : string
Get the display name for the queued job.
public
failed ( $e ) : void
Call the failed method on the notification instance.
Parameters
- $e Throwable
public
backoff ( ) : mixed
Get the number of seconds before a released notification will be available.
public
__clone ( ) : void
Prepare the instance for cloning.