interface UriTemplateInterface

Expands URI templates using an array of variables

@link http://tools.ietf.org/html/rfc6570

Hierarchy

Expanded class hierarchy of UriTemplateInterface

All classes that implement UriTemplateInterface

2 files declare their use of UriTemplateInterface
Client.php in drupal/core/vendor/guzzle/http/Guzzle/Http/Client.php
ClientInterface.php in drupal/core/vendor/guzzle/http/Guzzle/Http/ClientInterface.php

File

drupal/core/vendor/guzzle/parser/Guzzle/Parser/UriTemplate/UriTemplateInterface.php, line 10

Namespace

Guzzle\Parser\UriTemplate
View source
interface UriTemplateInterface {

  /**
   * Expand the URI template using the supplied variables
   *
   * @param string $template  URI Template to expand
   * @param array  $variables Variables to use with the expansion
   *
   * @return string Returns the expanded template
   */
  public function expand($template, array $variables);

}

Members

Namesort descending Modifiers Type Description Overrides
UriTemplateInterface::expand public function Expand the URI template using the supplied variables 2