Interface UriTemplateInterface
Expands URI templates using an array of variables
Direct known implementers
Guzzle\Parser\UriTemplate\PeclUriTemplate
,
Guzzle\Parser\UriTemplate\UriTemplate
Namespace: Guzzle\Parser\UriTemplate
Link: http://tools.ietf.org/html/rfc6570
Located at Guzzle/Parser/UriTemplate/UriTemplateInterface.php
Link: http://tools.ietf.org/html/rfc6570
Located at Guzzle/Parser/UriTemplate/UriTemplateInterface.php
Methods summary
-
public
expand ( string $template, array $variables )
Expand the URI template using the supplied variables
Methods detail
Expand the URI template using the supplied variables
Parameters
- $template
string
$template URI Template to expand- $variables
array
$variables Variables to use with the expansion
Returns
string
Returns the expanded template