update for IDE support

This commit is contained in:
whale 2020-04-26 15:08:09 +08:00
parent 438a204751
commit e3ffeec782

View File

@ -4,19 +4,30 @@
namespace ZM\Context;
use Swoole\Http\Request;
use Swoole\WebSocket\Frame;
use Swoole\WebSocket\Server;
use ZM\Http\Response;
interface ContextInterface
{
public function __construct($param, $cid);
/** @return Server */
public function getServer();
/** @return Frame */
public function getFrame();
/** @return mixed */
public function getData();
/** @return int */
public function getCid();
/** @return Response */
public function getResponse();
/** @return Request */
public function getRequest();
}