master
paginate
protected function paginate(callable $listFunction, int $total, int $perPage, int $page, string $baseUrl): array