public function routeNotificationForWunderlist()
{
return [
'token' => 'NotifiableAccessToken',
'list_id' => 12345,
];
}
php
use NotificationChannels\Wunderlist\WunderlistChannel;
use NotificationChannels\Wunderlist\WunderlistMessage;
use Illuminate\Notifications\Notification;
class ProjectCreated extends Notification
{
public function via($notifiable)
{
return [WunderlistChannel::class];
}
public function toWunderlist($notifiable)
{
return WunderlistMessage::create('Another channel bites the dust')
->starred()
->due('tomorrow');
}
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.