HtmlResponse
extends Response
in package
Table of Contents
- __construct() : mixed
Methods
__construct()
public
__construct([string $html = '' ][, int $status = 200 ][, array<string|int, mixed> $headers = ['Content-Type' => 'text/html; charset=UTF-8'] ]) : mixed
Parameters
- $html : string = ''
- $status : int = 200
- $headers : array<string|int, mixed> = ['Content-Type' => 'text/html; charset=UTF-8']