summaryrefslogblamecommitdiffstats
path: root/vendor/psr/http-factory/src/UriFactoryInterface.php
blob: 855debac6e2a1ea6895ae501d75f2f572c83bbb8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                            
<?php

namespace Psr\Http\Message;

interface UriFactoryInterface
{
    /**
     * Create a new URI.
     *
     * @param string $uri
     *
     * @return UriInterface
     *
     * @throws \InvalidArgumentException If the given URI cannot be parsed.
     */
    public function createUri(string $uri = ''): UriInterface;
}