public function Request::getRequestUri

Returns the requested URI.

@api

Return value

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

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

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Request.php, line 936

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;
}