public function Client::getUriTemplate

Get the URI template expander used by the client

Return value

UriTemplateInterface

Overrides ClientInterface::getUriTemplate

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Client.php, line 208

Class

Client
HTTP client

Namespace

Guzzle\Http

Code

public function getUriTemplate() {
  if (!$this->uriTemplate) {
    $this->uriTemplate = ParserRegistry::getInstance()
      ->getParser('uri_template');
  }
  return $this->uriTemplate;
}