PHP 7.4.33
Preview: Collection.php Size: 670 B
/var/www/multi-event-cfp.bitkit.dk/httpdocs/app/Support/Collection.php
<?php

namespace App\Support;

use Illuminate\Pagination\LengthAwarePaginator;
use Illuminate\Support\Collection as BaseCollection;

class Collection extends BaseCollection
{
    public function paginate($perPage, $total = null, $page = null, $pageName = 'page')
    {
        $page = $page ?: LengthAwarePaginator::resolveCurrentPage($pageName);

        return new LengthAwarePaginator(
            $this->forPage($page, $perPage),
            $total ?: $this->count(),
            $perPage,
            $page,
            [
                'path' => LengthAwarePaginator::resolveCurrentPath(),
                'pageName' => $pageName,
            ]
        );
    }
}

Directory Contents

Dirs: 1 × Files: 4
Name Size Perms Modified Actions
Traits DIR
- drwxr-xr-x 2024-02-09 12:37:30
Edit Download
670 B lrw-r--r-- 2024-02-09 12:37:30
Edit Download
7.71 KB lrw-r--r-- 2024-02-09 12:37:30
Edit Download
8.23 KB lrw-r--r-- 2026-04-07 05:01:19
Edit Download
3.65 KB lrw-r--r-- 2024-02-09 12:37:30
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).