Factory
class Factory (View source)
Methods
void __construct(Request $request, Factory $view, TranslatorInterface $trans, string $pageName = 'page') Create a new pagination factory. Paginator make(array $items, int $total, int|null $perPage = null) Get a new paginator instance. View getPaginationView(Paginator $paginator, string $view = null) Get the pagination view. int getCurrentPage() Get the number of the current page. void setCurrentPage(int $number) Set the numbe