public function Request::getResource

Get the resource part of the the request, including the path, query string, and fragment

Return value

string

Overrides RequestInterface::getResource

1 call to Request::getResource()
Request::getRawHeaders in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Request.php
Get the raw message headers as a string

File

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

Class

Request
HTTP request class to send requests

Namespace

Guzzle\Http\Message

Code

public function getResource() {
  return $this->url
    ->getPath() . (string) $this->url
    ->getQuery();
}