You are here

public function RequestContext::getBaseUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/RequestContext.php \Symfony\Component\Routing\RequestContext::getBaseUrl()

Gets the base URL.

Return value

string The base URL

File

vendor/symfony/routing/RequestContext.php, line 90

Class

RequestContext
Holds information about the current request.

Namespace

Symfony\Component\Routing

Code

public function getBaseUrl() {
  return $this->baseUrl;
}