Pagination final class
Minn\Front\Pagination · public/minn/src/Minn/Front/Pagination.php · 62 lines
Numbered page links in the reference's shape: previous, the end and middle runs with one ellipsis per gap, the current page as a span, next.
Public
| static | links(array $args, Closure $link): ?array# | The page links the reference's paginate_links builds, or null for one page.
@return list<string>|null the link elements, null with fewer than two pages | |||
| static | format(array $links, string $type): array|string# | The links in the requested shape.
|
Nothing matches.