29 lines
537 B
Plaintext
29 lines
537 B
Plaintext
<?php
|
|
|
|
namespace App\Notifications;
|
|
|
|
use Illuminate\Bus\Queueable;
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
use Illuminate\Notifications\Notification;
|
|
|
|
class PengajuanHasilFinalNotification extends Notification implements ShouldQueue
|
|
{
|
|
use Queueable;
|
|
|
|
protected $pengajuan;
|
|
|
|
public function __construct($pengajuan)
|
|
{
|
|
$this->pengajuan = $pengajuan;
|
|
}
|
|
|
|
public function via($notifiable)
|
|
{
|
|
return ['database'];
|
|
}
|
|
|
|
public function toDatabase($notifiable)
|
|
{
|
|
return [];
|
|
}
|
|
} |