PHP Класс Fenos\Notifynder\Senders\SenderManager

Наследование: implements Fenos\Notifynder\Contracts\NotifynderSender
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$container Illuminate\Contracts\Container\Container
$senderFactory SenderFactory
$senders array
$storeNotification Fenos\Notifynder\Contracts\StoreNotification

Открытые методы

Метод Описание
__call ( $name, $arguments ) : mixed When calling a not existing method try to resolve with an extended.
__construct ( SenderFactory $senderFactory, Fenos\Notifynder\Contracts\StoreNotification $storeNotification, Illuminate\Contracts\Container\Container $container )
customSender ( $customMethod, $notification ) : mixed Call a custom method.
extend ( $name, callable $extendSender ) This method allow to Extend notifynder with custom sender.
send ( array $info, null $category = null ) : mixed Send any notifications.
sendGroup ( $groupName, array $info = [] ) : mixed Send a group of notifications at once.
sendMultiple ( $info ) : SendMultiple Send Multiple method to get fully working older version.
sendNow ( array $info, $category = null ) : mixed Send now whatever data passed.
sendOne ( $info, $category = null ) : SendOne Send one method to get fully working older version.

Описание методов

__call() публичный Метод

When calling a not existing method try to resolve with an extended.
public __call ( $name, $arguments ) : mixed
$name
$arguments
Результат mixed

__construct() публичный Метод

public __construct ( SenderFactory $senderFactory, Fenos\Notifynder\Contracts\StoreNotification $storeNotification, Illuminate\Contracts\Container\Container $container )
$senderFactory SenderFactory
$storeNotification Fenos\Notifynder\Contracts\StoreNotification
$container Illuminate\Contracts\Container\Container

customSender() публичный Метод

Call a custom method.
public customSender ( $customMethod, $notification ) : mixed
$customMethod
$notification
Результат mixed

extend() публичный Метод

This method allow to Extend notifynder with custom sender.
public extend ( $name, callable $extendSender )
$name
$extendSender callable

send() публичный Метод

Send any notifications.
public send ( array $info, null $category = null ) : mixed
$info array
$category null
Результат mixed

sendGroup() публичный Метод

Send a group of notifications at once.
public sendGroup ( $groupName, array $info = [] ) : mixed
$groupName
$info array
Результат mixed

sendMultiple() публичный Метод

Send Multiple method to get fully working older version.
public sendMultiple ( $info ) : SendMultiple
$info
Результат SendMultiple

sendNow() публичный Метод

Send now whatever data passed.
public sendNow ( array $info, $category = null ) : mixed
$info array
$category
Результат mixed

sendOne() публичный Метод

Send one method to get fully working older version.
public sendOne ( $info, $category = null ) : SendOne
$info
$category
Результат SendOne

Описание свойств

$container защищенное свойство

protected Container,Illuminate\Contracts\Container $container
Результат Illuminate\Contracts\Container\Container

$senderFactory защищенное свойство

protected SenderFactory,Fenos\Notifynder\Senders $senderFactory
Результат SenderFactory

$senders защищенное свойство

protected array $senders
Результат array

$storeNotification защищенное свойство

protected StoreNotification,Fenos\Notifynder\Contracts $storeNotification
Результат Fenos\Notifynder\Contracts\StoreNotification