| 1 | <?php |
||
| 14 | class UriFactory implements \Http\Message\UriFactory, UriFactoryInterface |
||
| 15 | { |
||
| 16 | 18 | public function createUri($uri = ''): UriInterface |
|
| 24 | |||
| 25 | /** |
||
| 26 | * Create a new uri from server variable. |
||
| 27 | * |
||
| 28 | * @param array $server Typically $_SERVER or similar structure. |
||
| 29 | * |
||
| 30 | * @return UriInterface |
||
| 31 | */ |
||
| 32 | 22 | public function createUriFromArray(array $server): UriInterface |
|
| 62 | } |
||
| 63 |