You are here

public function Request::getRequestUri in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Request.php \Symfony\Component\HttpFoundation\Request::getRequestUri()

Returns the requested URI (path and query string).

Return value

string The raw URI (i.e. not URI decoded)

3 calls to Request::getRequestUri()
Request::prepareBaseUrl in vendor/symfony/http-foundation/Request.php
Prepares the base URL.
Request::preparePathInfo in vendor/symfony/http-foundation/Request.php
Prepares the path info.
Request::__toString in vendor/symfony/http-foundation/Request.php
Returns the request as a string.

File

vendor/symfony/http-foundation/Request.php, line 1045

Class

Request
Request represents an HTTP request.

Namespace

Symfony\Component\HttpFoundation

Code

public function getRequestUri() {
  if (null === $this->requestUri) {
    $this->requestUri = $this
      ->prepareRequestUri();
  }
  return $this->requestUri;
}