PHP SAPI.
This object is responsible for:
It could be said that this class provides a mapping between the Request and Response objects, and php's:
You can choose to either call all these methods statically, but you can also instantiate this as an object to allow for polymorphism.
Methods | ||
---|---|---|
public
static
|
getRequest(): Request
|
# |
public
static
|
sendResponse(ResponseInterface $response)
|
# |
public
static
|
createFromServerArray(array $serverArray): Request
|
# |