UriFactory: fromNew Example
Terry L edited this page Jun 21, 2020
·
1 revision
Pages 111
Clone this wiki locally
Shieldon\Psr17\UriFactory
::fromNew
Create a new URI.
-
return
UriInterface
Example:
$uri = UriFactory::fromNew();
Install
composer require shieldon/psr-http
Shieldon PSR HTTP implementation written by Terry L. from Taiwan.