21 lines
352 B
PHP
21 lines
352 B
PHP
|
<?php
|
||
|
|
||
|
namespace Interop\Http\Factory;
|
||
|
|
||
|
use Psr\Http\Message\UriInterface;
|
||
|
|
||
|
interface UriFactoryInterface
|
||
|
{
|
||
|
/**
|
||
|
* Create a new URI.
|
||
|
*
|
||
|
* @param string $uri
|
||
|
*
|
||
|
* @return UriInterface
|
||
|
*
|
||
|
* @throws \InvalidArgumentException
|
||
|
* If the given URI cannot be parsed.
|
||
|
*/
|
||
|
public function createUri($uri = '');
|
||
|
}
|