$pages->pagination()
Get the previously added pagination object
$pages->pagination(): Kirby\Cms\Pagination|null
Return types
Kirby\Cms\Paginationornull
This method modifies the existing $pages object it is applied to and returns it again.
Parent class
Kirby\Cms\Pages
inherited from Kirby\Cms\Collection
Related
Check out the docs for the $pagination object