You are here

public function ServerRequestInterface::getQueryParams in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/psr/http-message/src/ServerRequestInterface.php \Psr\Http\Message\ServerRequestInterface::getQueryParams()

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

2 methods override ServerRequestInterface::getQueryParams()
ServerRequest::getQueryParams in vendor/zendframework/zend-diactoros/src/ServerRequest.php
Retrieve query string arguments.
ServerRequest::getQueryParams in vendor/symfony/psr-http-message-bridge/Tests/Fixtures/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();