You are here

public function Request::getQueryString in Zircon Profile 8

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

Generates the normalized query string for the Request.

It builds a normalized query string, where keys/value pairs are alphabetized and have consistent escaping.

Return value

string|null A normalized query string for the Request

1 call to Request::getQueryString()
Request::getUri in vendor/symfony/http-foundation/Request.php
Generates a normalized URI (URL) for the Request.

File

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

Class

Request
Request represents an HTTP request.

Namespace

Symfony\Component\HttpFoundation

Code

public function getQueryString() {
  $qs = static::normalizeQueryString($this->server
    ->get('QUERY_STRING'));
  return '' === $qs ? null : $qs;
}