public function routeNotificationForPushbullet()
{
return new \NotificationChannels\Pushbullet\Targets\Email($this->email);
}
public function routeNotificationForPushbullet()
{
return new \NotificationChannels\Pushbullet\Targets\Device($this->pushbullet_device_id);
}
public function routeNotificationForPushbullet()
{
return new \NotificationChannels\Pushbullet\Targets\Channel($this->channel_tag);
}
public function routeNotificationForPushbullet()
{
return new \NotificationChannels\Pushbullet\Targets\UserDevices();
}
/**
* Get the pushbullet representation of the notification.
*
* @param mixed $notifiable
* @return \NotificationChannels\Pushbullet\PushbulletMessage
*/
public function toPushbullet($notifiable)
{
$url = url('/invoice/' . $this->invoice->id);
return PushbulletMessage::create('Thank you for using our application!')
->link()
->title('One of your invoices has been paid!')
->url($url);
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.