fix kelulusan

This commit is contained in:
hafifierahman
2021-01-17 08:47:05 +08:00
parent fb6d301884
commit 8f7ce44ee9
11 changed files with 340 additions and 208 deletions
+31
View File
@@ -0,0 +1,31 @@
<?php
namespace App\Events;
use Illuminate\Queue\SerializesModels;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
class OperasiNotice implements ShouldBroadcast
{
use Dispatchable, InteractsWithSockets, SerializesModels;
public $cawangan,$namateller;
public function __construct($cawangan,$namakhazanah)
{
$this->cawangan = $cawangan;
$this->namakhazanah = $namakhazanah;
}
public function broadcastOn()
{
return ['operasi-notify'];
}
public function broadcastAs()
{
return 'operasi-event';
}
}