1<?php 2 3namespace Psr\Http\Message; 4 5interface UriFactoryInterface 6{ 7 /** 8 * Create a new URI. 9 * 10 * @param string $uri 11 * 12 * @return UriInterface 13 * 14 * @throws \InvalidArgumentException If the given URI cannot be parsed. 15 */ 16 public function createUri(string $uri = ''): UriInterface; 17} 18