\Guzzle\Parser\UriTemplateUriTemplateInterface

Expands URI templates using an array of variables

Summary

Methods
Constants
expand()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

expand()

expand(string  $template, array  $variables) : string

Expand the URI template using the supplied variables

Parameters

string $template

URI Template to expand

array $variables

Variables to use with the expansion

Returns

string —

Returns the expanded template