Interface Guzzle\Parser\UriTemplate\UriTemplateInterface

Implemented byGuzzle\Parser\UriTemplate\PeclUriTemplate, Guzzle\Parser\UriTemplate\UriTemplate

Expands URI templates using an array of variables

Public Methods

Hide inherited methods

MethodDescriptionDefined By
expand() Expand the URI template using the supplied variables Guzzle\Parser\UriTemplate\UriTemplateInterface

Method Details

expand() public abstract method

Expand the URI template using the supplied variables

public abstract string expand ( $template, array $variables )
$template string

URI Template to expand

$variables array

Variables to use with the expansion

return string

Returns the expanded template