Factory
in
Table of Contents
- channel() : mixed
- Get a channel instance by name.
- send() : void
- Send the given notification to the given notifiable entities.
- sendNow() : void
- Send the given notification immediately.
Methods
channel()
Get a channel instance by name.
public
channel([string|null $name = null ]) : mixed
Parameters
- $name : string|null = null
Return values
mixed —send()
Send the given notification to the given notifiable entities.
public
send(Collection|array<string|int, mixed>|mixed $notifiables, mixed $notification) : void
Parameters
- $notifiables : Collection|array<string|int, mixed>|mixed
- $notification : mixed
Return values
void —sendNow()
Send the given notification immediately.
public
sendNow(Collection|array<string|int, mixed>|mixed $notifiables, mixed $notification) : void
Parameters
- $notifiables : Collection|array<string|int, mixed>|mixed
- $notification : mixed