Files
Paymenter-Version-Tracks/app/Observers/ServiceCancellationObserver.php
Muhammad Tamir 85c03cef82 v1.3.4
2025-11-14 10:57:49 +07:00

34 lines
876 B
PHP

<?php
namespace App\Observers;
use App\Events\ServiceCancellation as ServiceCancellationEvent;
use App\Models\ServiceCancellation;
class ServiceCancellationObserver
{
/**
* Handle the ServiceCancellation "created" event.
*/
public function created(ServiceCancellation $serviceCancellation): void
{
event(new ServiceCancellationEvent\Created($serviceCancellation));
}
/**
* Handle the ServiceCancellation "updated" event.
*/
public function updated(ServiceCancellation $serviceCancellation): void
{
event(new ServiceCancellationEvent\Updated($serviceCancellation));
}
/**
* Handle the ServiceCancellation "deleted" event.
*/
public function deleted(ServiceCancellation $serviceCancellation): void
{
event(new ServiceCancellationEvent\Deleted($serviceCancellation));
}
}