Documentation

UriTemplateInterface

Expands URI templates using an array of variables

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

Table of Contents

Methods

expand()  : string
Expand the URI template using the supplied variables

Methods

expand()

Expand the URI template using the supplied variables

public expand(string $template, array<string|int, mixed> $variables) : string
Parameters
$template : string

URI Template to expand

$variables : array<string|int, mixed>

Variables to use with the expansion

Return values
string

Returns the expanded template


        
On this page

Search results