feat(wallets): implement wallet and transaction management with associated models, policies, and resources

This commit is contained in:
2026-06-07 00:18:32 +03:30
parent c2319a55cb
commit d1d42b38d1
23 changed files with 790 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?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);
}
}