Response
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- header() : string|null
Properties
$body read-only
public
string
$body
$headers read-only
public
array<string|int, mixed>
$headers
= []
$status read-only
public
int
$status
Methods
__construct()
public
__construct(int $status, string $body[, array<string, string> $headers = [] ]) : mixed
Parameters
- $status : int
- $body : string
- $headers : array<string, string> = []
header()
public
header(string $name) : string|null
Parameters
- $name : string