for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace nebula\application\response\provider\type;
use nebula\application\response\Response;
/**
* 响应接口
*/
class HtmlContent implements TypeContentInterface
{
public static function send(Response $response, $content, string $type)
$response->setType('html');
$response->send($content);
}