<?php

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

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

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