<?php

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

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

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