php
use NotificationChannels\Messagebird\MessagebirdChannel;
use NotificationChannels\Messagebird\MessagebirdMessage;
use Illuminate\Notifications\Notification;
class VpsServerOrdered extends Notification
{
public function via($notifiable)
{
return [MessagebirdChannel::class];
}
public function toMessagebird($notifiable)
{
return (new MessagebirdMessage("Your {$notifiable->service} was ordered!"));
}
}
php
return (new MessagebirdMessage("Your {$notifiable->service} was ordered!"))->setRecipients($recipients);
php
return (new MessagebirdMessage("Your {$notifiable->service} was ordered!"))->setReference($id);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.