| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* League.Uri (https://uri.thephpleague.com) |
| 5 |
* |
| 6 |
* (c) Ignace Nyamagana Butera <nyamsprod@gmail.com> |
| 7 |
* |
| 8 |
* For the full copyright and license information, please view the LICENSE |
| 9 |
* file that was distributed with this source code. |
| 10 |
*/ |
| 11 |
declare (strict_types=1); |
| 12 |
namespace IAWP_SCOPED\League\Uri; |
| 13 |
|
| 14 |
use IAWP_SCOPED\Psr\Http\Message\UriFactoryInterface; |
| 15 |
use IAWP_SCOPED\Psr\Http\Message\UriInterface; |
| 16 |
final class HttpFactory implements UriFactoryInterface |
| 17 |
{ |
| 18 |
public function createUri(string $uri = '') : UriInterface |
| 19 |
{ |
| 20 |
return Http::createFromString($uri); |
| 21 |
} |
| 22 |
} |
| 23 |
|