You are here

public function ServerRequestInterface::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

1 method overrides ServerRequestInterface::getQueryParams()
ServerRequest::getQueryParams in vendor/guzzlehttp/psr7/src/ServerRequest.php
Retrieve query string arguments.

File

vendor/psr/http-message/src/ServerRequestInterface.php, line 99

Class

ServerRequestInterface
Representation of an incoming, server-side HTTP request.

Namespace

Psr\Http\Message

Code

public function getQueryParams();