public __construct ( $template, $data = [], $status = 200, array $headers = [] ) | ||
$headers | array |
public function __construct($template, $data = [], $status = 200, array $headers = [])
{
$this->template = $template;
$this->data = $data;
$this->status = $status;
$this->headers = $headers;
}