PHP Interface Fenos\Notifynder\Contracts\NotifynderSender

Afficher le fichier Open project: fenos/notifynder Interface Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

customSender() public méthode

Call a custom method.
public customSender ( $customMethod, $notification ) : mixed
$customMethod
$notification
Résultat mixed

extend() public méthode

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

send() public méthode

Send any notifications.
public send ( array $info, null $category = null ) : mixed
$info array
$category null
Résultat mixed

sendGroup() public méthode

Send a group of notifications at once.
public sendGroup ( $groupName, array $info = [] ) : mixed
$groupName
$info array
Résultat mixed

sendMultiple() public méthode

Send Multiple method to get fully working older version.
public sendMultiple ( $info ) : SendMultiple
$info
Résultat Fenos\Notifynder\Senders\SendMultiple

sendNow() public méthode

Send now whatever data passed.
public sendNow ( array $info, $category = null ) : mixed
$info array
$category
Résultat mixed

sendOne() public méthode

Send one method to get fully working older version.
public sendOne ( $info, $category = null ) : SendOne
$info
$category
Résultat Fenos\Notifynder\Senders\SendOne