<?php

namespace App\Transformers\Objects;

use Illuminate\Database\Eloquent\Model;
use League\Fractal\TransformerAbstract;

class OptionTransformer extends TransformerAbstract {
    protected array $defaultIncludes = [

    ];

    protected array $availableIncludes = [

    ];

    public function transform(Model $model): array {
        return [
            'id' => $model->uuid,
            'name' => $model->name,
            'title' => $model->title
        ];
    }

}
