class Illuminate / Notifications / SendQueuedNotifications

SendQueuedNotifications

Implements

Uses

Properties

public

$notifiables Illuminate\...\Collection

The notifiable entities that should receive the notification.

Default: null
public

$notification Notification

The notification to be sent.

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

protected

wrapNotifiables ( $notifiables ) : Illuminate\...\Collection

Wrap the notifiable(s) in a collection.

Parameters

public

handle ( ChannelManager $manager ) : void

Send the notifications.

Parameters

public

displayName ( ) : string

Get the display name for the queued job.

public

failed ( $e ) : void

Call the failed method on the notification instance.

Parameters

public

backoff ( ) : mixed

Get the number of seconds before a released notification will be available.

public

retryUntil ( ) : DateTime |null

Determine the time at which the job should timeout.

public

__clone ( ) : void

Prepare the instance for cloning.