function 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
File
-
vendor/
symfony/ http-foundation/ Request.php, line 947
Class
- Request
- Request represents an HTTP request.
Namespace
Symfony\Component\HttpFoundationCode
public function getRequestUri() : string {
return $this->requestUri ??= $this->prepareRequestUri();
}