Block/Post/PostList/Toolbar.php
public function getPagerUrl($params = [])
    {
        $urlParams = [];
        $urlParams['_current'] = true;
        $urlParams['_escape'] = true;
        $urlParams['_use_rewrite'] = true;
        $urlParams['_query'] = $params;

        return $this->getUrl('*/*/*', $urlParams);
    }
public function getPagerUrl($params = [])
    {
        $urlParams = [];
        $urlParams['_current'] = true;
        $urlParams['_escape'] = true;
        $urlParams['_use_rewrite'] = true;
        $urlParams['_query'] = $params;

        return $this->getUrl('*/*/*', $urlParams);
    }
public function getPagerUrl ( $ params = [ ] ) { $ urlParams = [ ] ; $ urlParams [ '_current' ] = true ; $ urlParams [ '_escape' ] = true ; $ urlParams [ '_use_rewrite' ] = true ; $ urlParams [ '_query' ] = $ params ; return $ this -> getUrl ( '*/*/*' , $ urlParams ) ; }
Return current URL with rewrites and additional parameters.

@param array $params Query parameters.
@return string
Return current URL with rewrites and additional parameters .