/** * 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; }
/** * Send notifications * Both multiple and single * * @param array $info * @return mixed */ public function send($info = []) { $info = count($info) > 0 ? $info : $this->toArray(); return $this->notifynderSender->send($info, $this->defaultCategory); }
/** * Send notification. * * @param NotifynderSender $sender * @return mixed */ public function send(NotifynderSender $sender) { // dd($storeNotification); return $sender->send($this->notifications); }