use Illuminate\Notifications\Notification;
use NotificationChannels\LogChannel\LogMessage;
class AccountApproved extends Notification
{
public function via($notifiable)
{
return ['log'];
}
public function toLog($notifiable)
{
return LogMessage::create("Task #{$notifiable->id} is complete!");
}
}
public function routeNotificationForLog()
{
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.