RequestFactory
in package
implements
RequestFactoryInterface
PSR-17 request factory class
Tags
Table of Contents
Interfaces
- RequestFactoryInterface
Methods
- createRequest() : RequestInterface
- Create a new request
Methods
createRequest()
Create a new request
public
createRequest(string $method, UriInterface|string $uri) : RequestInterface
Parameters
- $method : string
- $uri : UriInterface|string