Files
boursecu_server/app/Observers/CustomerObserver.php
T
2026-07-05 16:43:34 +03:30

18 lines
394 B
PHP

<?php
namespace App\Observers;
use App\Models\Customer;
use App\Services\ConfigService;
use App\Services\PargarSyncService;
use App\Services\TahesabSyncService;
class CustomerObserver
{
public function created(Customer $customer): void
{
app(TahesabSyncService::class)->registerOnCreate($customer);
app(PargarSyncService::class)->registerOnCreate($customer);
}
}