Files
boursecu_server/app/Observers/CustomerObserver.php
T

15 lines
258 B
PHP
Raw Normal View History

2026-06-27 22:10:29 +03:30
<?php
namespace App\Observers;
use App\Models\Customer;
use App\Services\TahesabSyncService;
class CustomerObserver
{
public function created(Customer $customer): void
{
app(TahesabSyncService::class)->registerOnCreate($customer);
}
}