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