Skip to content

RequestFactory: fromNew Example

Terry L edited this page Jun 21, 2020 · 1 revision

Shieldon\Psr17\RequestFactory

::fromNew

Create a new request.

  • return RequestInterface

Example:

$uri = RequestFactory::fromNew();
Clone this wiki locally