Open Journal Systems  3.3.0
Guzzle\Parser\UriTemplate\UriTemplateInterface Interface Reference
Inheritance diagram for Guzzle\Parser\UriTemplate\UriTemplateInterface:
Guzzle\Parser\UriTemplate\PeclUriTemplate Guzzle\Parser\UriTemplate\UriTemplate

Public Member Functions

 expand ($template, array $variables)
 

Detailed Description

Expands URI templates using an array of variables

http://tools.ietf.org/html/rfc6570

Definition at line 10 of file UriTemplateInterface.php.

Member Function Documentation

◆ expand()

Guzzle\Parser\UriTemplate\UriTemplateInterface::expand (   $template,
array  $variables 
)

Expand the URI template using the supplied variables

Parameters
string$templateURI Template to expand
array$variablesVariables to use with the expansion
Returns
string Returns the expanded template

Implemented in Guzzle\Parser\UriTemplate\UriTemplate, and Guzzle\Parser\UriTemplate\PeclUriTemplate.


The documentation for this interface was generated from the following file: