/** * Send the notifications. * * @param \Illuminate\Notifications\ChannelManager $manager * @return void */ public function handle(ChannelManager $manager) { $manager->sendNow($this->notifiables, $this->notification, $this->channels); }
/** * Send the given notification immediately. * * @param \Illuminate\Support\Collection|array|mixed $notifiables * @param mixed $notification * @return void * @static */ public static function sendNow($notifiables, $notification, $channels = null) { \Illuminate\Notifications\ChannelManager::sendNow($notifiables, $notification, $channels); }