code: public function getBaseUri()
  	{
  		if($this->routeMatch === NULL)
  		{
  			return $this->request->getBaseUri();
  		}
  		
  		return new Uri(ltrim($this->request->getBaseUri()->setPath('') . '/', '/') . $this->getPathBase());
  	}
docs: {@inheritdoc}