PNG IHDR x sBIT|d pHYs + tEXtSoftware www.inkscape.org< ,tEXtComment
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
class DatabaseNotification extends Notification
{
use Queueable;
public $title;
public $message;
public $type;
public $icon;
/**
* Create a new notification instance.
*
* @return void
*/
public function __construct($title, $message, $type = 'info', $icon = 'bell')
{
$this->title = $title;
$this->message = $message;
$this->type = $type;
$this->icon = $icon;
}
/**
* Get the notification's delivery channels.
*
* @param mixed $notifiable
* @return array
*/
public function via($notifiable)
{
return ['database'];
}
/**
* Get the array representation of the notification.
*
* @param mixed $notifiable
* @return array
*/
public function toArray($notifiable)
{
return [
'title' => $this->title,
'message' => $this->message,
'type' => $this->type,
'icon' => $this->icon
];
}
}
b IDATxytVսϓ22 A@IR:hCiZ[v*E:WũZA ^dQeQ @ !jZ'>gsV仿$|?g)&x-E