protected function paginationLinks($paginated)
    {
        return [
            'first' => $paginated['first_page_url'] ?? null,
            'last' => $paginated['last_page_url'] ?? null,
            'prev' => $paginated['prev_page_url'] ?? null,
            'next' => $paginated['next_page_url'] ?? null,
        ];
    }
protected function paginationLinks($paginated)
    {
        return [
            'first' => $paginated['first_page_url'] ?? null,
            'last' => $paginated['last_page_url'] ?? null,
            'prev' => $paginated['prev_page_url'] ?? null,
            'next' => $paginated['next_page_url'] ?? null,
        ];
    }
protected function paginationLinks ( $ paginated ) { return [ 'first' => $ paginated [ 'first_page_url' ] ?? null , 'last' => $ paginated [ 'last_page_url' ] ?? null , 'prev' => $ paginated [ 'prev_page_url' ] ?? null , 'next' => $ paginated [ 'next_page_url' ] ?? null , ] ; }
Get the pagination links for the response.

@param  array  $paginated
@return array
Get the pagination links for the response .