use Illuminate\Notifications\Notification;
use Meshgroup\Megafon\MegafonMessage;
use Meshgroup\Megafon\MegafonChannel;
class AccountApproved extends Notification
{
public function via($notifiable)
{
return [MegafonChannel::class];
}
public function toMegafon($notifiable)
{
return MegafonMessage::create("Task #{$notifiable->id} is complete!");
}
}
public function routeNotificationForMegafon()
{
return $this->phone;
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.