Fenos\Notifynder\Contracts\NotifynderSender::send PHP Méthode

send() public méthode

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

Usage Example

 /**
  * Send notifications
  * Both multiple and single.
  *
  * @param  array $info
  * @return mixed
  */
 public function send($info = [])
 {
     $info = count($info) > 0 ? $info : $this->toArray();
     $notificationSent = $this->notifynderSender->send($info, $this->defaultCategory);
     $this->refresh();
     return $notificationSent;
 }
All Usage Examples Of Fenos\Notifynder\Contracts\NotifynderSender::send