<?php

namespace App\Observers;

use App\Models\User;
use App\Services\WalletService;

class UserObserver
{
    public function __construct(private WalletService $walletService) {}

    public function created(User $user): void
    {
        $this->walletService->createForUser($user);
    }
}
