<?php

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

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

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