ChannelManager

ChannelManager

class ChannelManager extends Manager implements Dispatcher, Factory (View source)

Methods

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.

doc_Laravel
2016-11-02 16:10:18
Comments
Leave a Comment

Please login to continue.