for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
/**
* It's free open-source software released under the MIT License.
*
* @author Anatoly Nekhay <[email protected]>
* @copyright Copyright (c) 2018, Anatoly Nekhay
* @license https://github.com/sunrise-php/http-message/blob/master/LICENSE
* @link https://github.com/sunrise-php/http-message
*/
namespace Sunrise\Http\Message;
* Import classes
use Psr\Http\Message\UriFactoryInterface;
use Psr\Http\Message\UriInterface;
* UriFactory
* @link https://www.php-fig.org/psr/psr-17/
class UriFactory implements UriFactoryInterface
{
* {@inheritdoc}
public function createUri(string $uri = ''): UriInterface
return new Uri($uri);
}