This commit is contained in:
wangjinlei
2022-12-07 10:37:51 +08:00
parent 1271058def
commit c7cdf8a31f
668 changed files with 116142 additions and 20 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace Http\Message;
use Psr\Http\Message\UriInterface;
/**
* Factory for PSR-7 URI.
*
* @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
*/
interface UriFactory
{
/**
* Creates an PSR-7 URI.
*
* @param string|UriInterface $uri
*
* @return UriInterface
*
* @throws \InvalidArgumentException If the $uri argument can not be converted into a valid URI.
*/
public function createUri($uri);
}