W3cubDocs

/Laravel 5.8

Factory

interface Factory (View source)

Methods

mixed channel(string|null $name = null)

Get a channel instance by name.

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)

Send the given notification immediately.

Details

mixed channel(string|null $name = null)

Get a channel instance by name.

Parameters

string|null $name

Return Value

mixed

void send(Collection|array|mixed $notifiables, mixed $notification)

Send the given notification to the given notifiable entities.

Parameters

Collection|array|mixed $notifiables
mixed $notification

Return Value

void

void sendNow(Collection|array|mixed $notifiables, mixed $notification)

Send the given notification immediately.

Parameters

Collection|array|mixed $notifiables
mixed $notification

Return Value

void

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