code: public function getCurrentFilterUrl($options = null): FilterUrl
      {
          $this->addFromCurrentRequest($filterUrl = new FilterUrl(), $options);
  
          return $filterUrl;
      }
docs: Generate a filter URL from the current request.
  
  @param array $options The options for updating - for details see FilterUrlBuilder::addFromCurrentRequest().
  
  @return FilterUrl