class ChannelManager extends Manager implements Dispatcher, Factory (View source)
void | __construct(Application $app) Create a new manager instance. | from Manager |
string | getDefaultDriver() Get the default channel driver name. | |
mixed | driver(string $driver = null) Get a driver instance. | from Manager |
$this | extend(string $driver, Closure $callback) Register a custom driver creator Closure. | from Manager |
array | getDrivers() Get all of the created "drivers". | from Manager |
mixed | __call(string $method, array $parameters) Dynamically call the default driver instance. | from Manager |
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. | |
mixed | channel(string|null $name = null) Get a channel instance. | |
string | deliversVia() Get the default channel driver name. | |
void | deliverVia(string $channel) Set the default channel driver name. |
Create a new manager instance.
Get the default channel driver name.
Get a driver instance.
Register a custom driver creator Closure.
Get all of the created "drivers".
Dynamically call the default driver instance.
Send the given notification to the given notifiable entities.
Send the given notification immediately.
Get a channel instance.
Get the default channel driver name.
Set the default channel driver name.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Notifications/ChannelManager.html