This commit is contained in:
as2252258@163.com
2021-09-24 02:04:36 +08:00
parent 318fe08eb5
commit b9a1178fbe
10 changed files with 168 additions and 237 deletions
@@ -0,0 +1,25 @@
<?php
namespace Server\Abstracts\Utility;
use Annotation\Inject;
use Server\Constrict\Emitter;
use Server\Constrict\Response as CResponse;
use Server\Constrict\ResponseEmitter;
/**
*
*/
trait ResponseHelper
{
/** @var CResponse|mixed */
#[Inject(CResponse::class)]
public CResponse $response;
public Emitter $responseEmitter;
}