/** * Get the absolute path of the request in the form of a UriBuilder. This * includes everything preceding the path (host, port etc) but excludes * query parameters. * * @return \Sonno\Uri\UriBuilder */ public function getAbsolutePathBuilder() { $builder = new UriBuilder($this->_config, $this->_request); return $builder->replaceQuery(null); }