As the name says, it is made to be basic and direct.
RequestFactory class
Psr\Http\Message\RequestFactoryInterface
Name | Description |
---|---|
create | Funtion static createRequest |
Create a new request. | |
createRequest | Funtion createRequest |
Create a new request. |
Description
public static create (string $method, \UriInterface|string $uri)
Funtion static createRequest Create a new request.
Parameters
(string) $method
(\UriInterface|string) $uri
Return Values
\RequestInterface
Description
public createRequest (string $method, \UriInterface|string $uri)
Funtion createRequest Create a new request.
Parameters
(string) $method
(\UriInterface|string) $uri
Return Values
\RequestInterface