createUri() createUri(string $uri = '') : \Psr\Http\Message\UriInterface Create a new URI. Parameters string $uri Throws \InvalidArgumentException If the given URI cannot be parsed. Returns \Psr\Http\Message\UriInterface —