mailgun-php/Mailgun/Guzzle/Parser/UriTemplate/UriTemplateInterface.php

22 lines
510 B
PHP
Raw Normal View History

2013-07-18 09:48:12 +04:00
<?php
namespace Guzzle\Parser\UriTemplate;
/**
* Expands URI templates using an array of variables
*
* @link http://tools.ietf.org/html/rfc6570
*/
interface UriTemplateInterface
{
/**
* Expand the URI template using the supplied variables
*
* @param string $template URI Template to expand
* @param array $variables Variables to use with the expansion
*
* @return string Returns the expanded template
*/
public function expand($template, array $variables);
}