Skip to content

UriFactory: createUri Example

Terry L edited this page Jun 21, 2020 · 3 revisions
Clone this wiki locally

Shieldon\Psr17\UriFactory

createUri($uri)

Create a new URI.

  • param string uri = "" The URI to parse.
  • return UriInterface

Example:

$uriFactory = new UriFactory;
$uri = $uriFactory->createUri();