\Guzzle\Parser\UriTemplatePeclUriTemplate

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

Summary

Methods
Properties
Constants
__construct()
expand()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

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