-
Notifications
You must be signed in to change notification settings - Fork 2
ServerRequestFactory: fromGlobal Example
Terry L edited this page Jun 21, 2020
·
4 revisions
Shieldon\Psr17\ServerRequestFactory
Create a new server request from superglobals.
(Non-PSR)
-
return
ServerRequestInterface
Examples:
$serverRequest = ServerRequestFactory::fromGlobal();
composer require shieldon/psr-http
Shieldon PSR HTTP implementation written by Terry L. from Taiwan.