You are here

public function ServerRequest::getQueryParams in Lockr 7.3

Retrieve query string arguments.

Retrieves the deserialized query string arguments, if any.

Note: the query params might not be in sync with the URI or server params. If you need to ensure you are only getting the original values, you may need to parse the query string from `getUri()->getQuery()` or from the `QUERY_STRING` server param.

Return value

array

Overrides ServerRequestInterface::getQueryParams

File

vendor/guzzlehttp/psr7/src/ServerRequest.php, line 296

Class

ServerRequest
Server-side HTTP request

Namespace

GuzzleHttp\Psr7

Code

public function getQueryParams() {
  return $this->queryParams;
}