for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// | Copyright (c) 2006~2019 http://thinkphp.cn All rights reserved.
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// | Author: liu21st <[email protected]>
declare (strict_types = 1);
namespace think\response;
use think\Cookie;
use think\Response;
/**
* Html Response
*/
class Html extends Response
{
* 输出type
* @var string
protected $contentType = 'text/html';
public function __construct(Cookie $cookie, $data = '', int $code = 200)
$this->init($data, $code);
$this->cookie = $cookie;
}