<?php

declare(strict_types=1);

namespace App\Http\Controllers\Wallet;

use App\Http\Controllers\Controller;
use App\Http\Resources\WalletSummaryResource;
use Illuminate\Http\Request;

class WalletSummaryController extends Controller
{
    public function __invoke(Request $request): WalletSummaryResource
    {
        return new WalletSummaryResource($request->user());
    }
}
