PHP Class Fenos\Notifynder\Senders\SendOne

Send a single notification
Inheritance: implements Fenos\Notifynder\Contracts\DefaultSender
Exibir arquivo Open project: fenos/notifynder

Protected Properties

Property Type Description
$infoNotification array

Public Methods

Method Description
__construct ( $infoNotification )
send ( Fenos\Notifynder\Contracts\StoreNotification $sender ) : mixed Send Single notification.

Protected Methods

Method Description
hasCategory ( ) : boolean Check if the category of the notification has been specified in the array of information.

Method Details

__construct() public method

public __construct ( $infoNotification )
$infoNotification

hasCategory() protected method

Check if the category of the notification has been specified in the array of information.
protected hasCategory ( ) : boolean
return boolean

send() public method

Send Single notification.
public send ( Fenos\Notifynder\Contracts\StoreNotification $sender ) : mixed
$sender Fenos\Notifynder\Contracts\StoreNotification
return mixed

Property Details

$infoNotification protected_oe property

protected array $infoNotification
return array