<?php

namespace App\Http\Resources\JobSeekerNotification;

use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\ResourceCollection;

class JobSeekerNotificationCollection extends ResourceCollection
{
    /**
     * The resource that this collection collects 
     * 
     * @var string 
     */
    public $collects = JobSeekerNotificationResource::class;

    /**
     * Transform the resource collection into an array.
     *
     * @return array<int|string, mixed>
     */
    public function toArray(Request $request): array
    {
        return [
            'data' => $this->collection,
            'links' =>
            [
                'self' => 'link-value',
            ],
        ];
    }
}
