<?php

namespace App\Filament\Resources\DonorFinancialPortfolioResource\Api\Transformers;

use App\Models\DonorFinancialPortfolio;
use Illuminate\Http\Resources\Json\JsonResource;

/**
 * @property DonorFinancialPortfolio $resource
 */
class DonorFinancialPortfolioTransformer extends JsonResource
{
    /**
     * Transform the resource into an array.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function toArray($request)
    {
        return $this->resource->toArray();
    }
}
