Current Paginator
is using ?page=N
, but I want to use something else. How can I change so it's ?sida=N
instead?
I've looked at Illuminate\Pagination\Environment
and there is a method (setPageName()
) there to change it (I assume), but how do you use it?
In the Paginator
class there is a method the change the base url (setBaseUrl()
) in the Environment
class, but there is no method for setting a page name. Do I really need to extend the Paginator
class just to be able to change the page name?