public function PeclUriTemplate::expand

Expand the URI template using the supplied variables

Parameters

string $template URI Template to expand:

array $variables Variables to use with the expansion:

Return value

string Returns the expanded template

Overrides UriTemplateInterface::expand

File

drupal/core/vendor/guzzle/parser/Guzzle/Parser/UriTemplate/PeclUriTemplate.php, line 29

Class

PeclUriTemplate
Expands URI templates using the uri_template pecl extension (pecl install uri_template-beta)

Namespace

Guzzle\Parser\UriTemplate

Code

public function expand($template, array $variables) {
  return uri_template($template, $variables);
}