public function Request::getQuery

Get the collection of key value pairs that will be used as the query string in the request

Return value

QueryString

Overrides RequestInterface::getQuery

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Request.php, line 276

Class

Request
HTTP request class to send requests

Namespace

Guzzle\Http\Message

Code

public function getQuery($asString = false) {
  return $asString ? (string) $this->url
    ->getQuery() : $this->url
    ->getQuery();
}