Fenos\Notifynder\Contracts\NotifynderSender::sendOne PHP Method

sendOne() public method

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

Usage Example

Ejemplo n.º 1
0
 /**
  * Send One notification.
  *
  * @param  array $info
  * @return mixed
  */
 public function sendOne($info = [])
 {
     $info = count($info) > 0 ? $info : $this->toArray();
     $notificationSent = $this->notifynderSender->sendOne($info, $this->defaultCategory);
     $this->refresh();
     return $notificationSent;
 }
All Usage Examples Of Fenos\Notifynder\Contracts\NotifynderSender::sendOne