⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.155
Server IP:
57.129.66.90
Server:
Linux vps-7f548908 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
barzah.shop
/
public_html
/
app
/
Notifications
/
Edit File: PushDemo.php
title = $title; $this->message = $message; $this->buttonText = $buttonText; $this->buttonURL = $buttonURL; } /** * Get the notification's delivery channels. * * @param mixed $notifiable * @return array */ public function via($notifiable) { return [WebPushChannel::class]; } /** * Get the mail representation of the notification. * * @param mixed $notifiable * @return \Illuminate\Notifications\Messages\MailMessage */ public function toWebPush($notifiable, $notification) { $push = (new WebPushMessage) ->title($this->title) ->icon('assets/front/img/pushnotification_icon.png') ->action($this->buttonText, $this->buttonURL); if (!empty($this->message)) { $push = $push->body($this->message); } return $push; } /** * Get the array representation of the notification. * * @param mixed $notifiable * @return array */ public function toArray($notifiable) { return [ // ]; } }
Simpan