for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Class UriFactory
*
* @created 27.08.2018
* @author smiley <[email protected]>
* @copyright 2018 smiley
* @license MIT
*/
namespace chillerlan\HTTP\Psr17;
use chillerlan\HTTP\Psr7\Uri;
use Psr\Http\Message\{UriFactoryInterface, UriInterface};
class UriFactory implements UriFactoryInterface{
* @inheritDoc
public function createUri(string $uri = ''):UriInterface{
return new Uri($uri);
}