public function current($meta = null, array $queryParams = [])
    {
        $url = $this->generator->current();

        if ($queryParams) {
            $url .= '?' . http_build_query($queryParams);
        }

        return $this->factory->createLink($url, $meta, true);
    }
public function current($meta = null, array $queryParams = [])
    {
        $url = $this->generator->current();

        if ($queryParams) {
            $url .= '?' . http_build_query($queryParams);
        }

        return $this->factory->createLink($url, $meta, true);
    }
public function current ( $ meta = null , array $ queryParams = [ ] ) { $ url = $ this -> generator -> current ( ) ; if ( $ queryParams ) { $ url .= '?' . http_build_query ( $ queryParams ) ; } return $ this -> factory -> createLink ( $ url , $ meta , true ) ; }
Get a link to the current path, adding in supplied query params.

@param array|object|null $meta
@param array $queryParams
@return LinkInterface
Get a link to the current path adding in supplied query params .