mini\Http\Message\Response::ResponseTrait()
Method
protected
Signature
protected function ResponseTrait(mixed $body, array $headers = array (
), int $statusCode = 200, ?string $reasonPhrase = NULL, string $protocolVersion = '1.1')
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$body |
mixed |
required | Documentation missing |
$headers |
array |
array (
)
|
Documentation missing |
$statusCode |
int |
200
|
Documentation missing |
$reasonPhrase |
?string |
NULL
|
Documentation missing |
$protocolVersion |
string |
'1.1'
|
Documentation missing |
Documentation
Configure the response trait