| 1 | <?php |
||
| 13 | class UriFactory implements \Http\Message\UriFactory |
||
| 14 | { |
||
| 15 | 9 | public function createUri($uri = ''): UriInterface |
|
| 23 | |||
| 24 | /** |
||
| 25 | * Create a new uri from server variable. |
||
| 26 | * |
||
| 27 | * @param array $server Typically $_SERVER or similar structure. |
||
| 28 | * |
||
| 29 | * @return UriInterface |
||
| 30 | * |
||
| 31 | * @deprecated This function will be removed as it serves no purpose. |
||
| 32 | */ |
||
| 33 | 15 | public function createUriFromArray(array $server): UriInterface |
|
| 63 | } |
||
| 64 |