php-http /
message
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Http\Message\UriFactory; |
||
| 4 | |||
| 5 | use GuzzleHttp\Psr7; |
||
| 6 | use Http\Message\UriFactory; |
||
| 7 | |||
| 8 | /** |
||
| 9 | * Creates Guzzle URI. |
||
| 10 | * |
||
| 11 | * @author David de Boer <[email protected]> |
||
| 12 | * |
||
| 13 | * @deprecated This will be removed in php-http/message2.0. Consider using the official Guzzle PSR-17 factory |
||
| 14 | */ |
||
| 15 | final class GuzzleUriFactory implements UriFactory |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | 3 | * {@inheritdoc} |
|
| 19 | */ |
||
| 20 | 3 | public function createUri($uri) |
|
| 21 | { |
||
| 22 | return Psr7\uri_for($uri); |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 23 | } |
||
| 24 | } |
||
| 25 |