Skip to content

UriFactory: fromGlobal Example

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

Shieldon\Psr17\UriFactory

::fromGlobal()

Create a new Uri instance from superglobals.

(Non-PSR)

  • return UriInterface Examples:
$uri = UriFactory::fromGlobal();
Clone this wiki locally