@if ($paginator->hasPages()) @php(isset($this->numberOfPaginatorsRendered[$paginator->getPageName()]) ? $this->numberOfPaginatorsRendered[$paginator->getPageName()]++ : $this->numberOfPaginatorsRendered[$paginator->getPageName()] = 1)
{{-- Previous Page Link --}} @if ($paginator->onFirstPage())
‹
@else
‹
@endif {{-- Pagination Elements --}} @if ($elements ?? null) @foreach ($elements as $element) {{-- "Three Dots" Separator --}} @if (is_string($element))
{{ $element }}
@endif {{-- Array Of Links --}} @if (is_array($element)) @foreach ($element as $page => $url) @if ($page == $paginator->currentPage())
{{ $page }}
@else
{{ $page }}
@endif @endforeach @endif @endforeach @endif {{-- Next Page Link --}} @if ($paginator->hasMorePages())
›
@else
›
@endif
@endif