FleetCart/Modules/Attribute/Transformers/AttributeResource.php
2023-12-03 14:07:47 +00:00

22 lines
409 B
PHP

<?php
namespace Modules\Attribute\Transformers;
use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\JsonResource;
class AttributeResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param Request
*
* @return array
*/
public function toArray($request)
{
return parent::toArray($request);
}
}