<?php

namespace App\Http\Resources;

use Illuminate\Http\Resources\Json\JsonResource;

class Step extends JsonResource
{
    /**
     * Transform the resource into an array.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function toArray($request)
    {
        return [
            'reference_id' => $this->reference_id,
            'initial_name' => $this->initial_name,
            'final_name' => $this->final_name,
            'description' => $this->description
        ];
    }
}
