PHP 클래스 Fenos\Notifynder\Senders\SenderManager

상속: implements Fenos\Notifynder\Contracts\NotifynderSender
파일 보기 프로젝트 열기: fenos/notifynder

보호된 프로퍼티들

프로퍼티 타입 설명
$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