<?php

namespace TPS\Birzha\Classes;

use Illuminate\Http\Resources\Json\JsonResource;
 
class ImageResource extends JsonResource
{
    /**
     * Transform the resource into an array.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function toArray($request)
    {
        return [
	    'id' => $this->id,
            'disk_name' => $this->disk_name,
            'file_name' => $this->file_name,
            'path' => $this->path,
            'extension' => $this->extension,
        ];
    }
}
