Files
ntspi-app/app/Ship/Resources/Breadcrumb/ClientBreadcrumbSubSection.php
T
2026-03-20 21:47:02 +05:00

23 lines
455 B
PHP
Executable File

<?php
namespace App\Ship\Resources\Breadcrumb;
use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\JsonResource;
class ClientBreadcrumbSubSection extends JsonResource
{
/**
* Transform the resource into an array.
*
* @return array<string, mixed>
*/
public function toArray(Request $request): array
{
return [
'title' => $this->title,
'slug' => $this->slug,
];
}
}