$segments->pagination()
Get the previously added pagination object
$segments->pagination(): Kirby\Toolkit\Pagination|null
Return types
Kirby\Toolkit\Pagination
ornull
This method modifies the existing $segments
object it is applied to and returns it again.
Parent class
Kirby\Query\Segments
inherited from Kirby\Toolkit\Collection