ResponseGenerator
Table of Contents
-
$content
: mixed
-
$contentType
: string|null
-
$status
: int
-
__construct()
: mixed
-
toResponse()
: Response
$content
private
mixed
$content
$contentType
private
string|null
$contentType
= null
$status
private
int
$status
= 200
__construct()
public
__construct(mixed $content[, int $status = 200 ][, string|null $contentType = null ]) : mixed
Parameters
-
$content
: mixed
-
-
$status
: int
= 200
-
-
$contentType
: string|null
= null
-
Return values
mixed
—
toResponse()
public
toResponse() : Response
Return values
Response
—