RequestFactory.php
7 months ago
ResponseFactory.php
7 months ago
ServerRequestFactory.php
7 months ago
StreamFactory.php
7 months ago
UploadedFileFactory.php
7 months ago
UriFactory.php
7 months ago
UriFactory.php
16 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Http\Factory\Guzzle; |
| 4 | |
| 5 | use AmeliaVendor\GuzzleHttp\Psr7\Uri; |
| 6 | use AmeliaVendor\Psr\Http\Message\UriFactoryInterface; |
| 7 | use AmeliaVendor\Psr\Http\Message\UriInterface; |
| 8 | |
| 9 | class UriFactory implements UriFactoryInterface |
| 10 | { |
| 11 | public function createUri(string $uri = ''): UriInterface |
| 12 | { |
| 13 | return new Uri($uri); |
| 14 | } |
| 15 | } |
| 16 |