-
Notifications
You must be signed in to change notification settings - Fork 1
PSR 17: UriFactory Example
Terry L edited this page Jun 21, 2020
·
3 revisions
Namespace
Shieldon\Psr17\UriFactory
- createUri
-
::fromGlobal
(Non-PSR)
None
-
param
string
uri= ""
The URI to parse. -
return
UriInterface
Example:
$uriFactory = new UriFactory;
$uri = $uriFactory->createUri();
(Non-PSR)
-
return
UriInterface
Examples:
$uri = UriFactory::fromGlobal();
composer require shieldon/psr-http
Shieldon PSR HTTP implementation written by Terry L. from Taiwan.