$params public property
Parameters (name => value) that should be used to obtain the current page number and to create new pagination URLs. If not set, all parameters from $_GET will be used instead.
In order to add hash to all links use array_merge($_GET, ['#' => 'my-hash'])
.
The array element indexed by $pageParam is considered to be the current page number (defaults to 0); while the element indexed by $pageSizeParam is treated as the page size (defaults to $defaultPageSize).
Please login to continue.