mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-23 00:25:35 +08:00
update for IDE support
This commit is contained in:
@@ -4,19 +4,30 @@
|
|||||||
namespace ZM\Context;
|
namespace ZM\Context;
|
||||||
|
|
||||||
|
|
||||||
|
use Swoole\Http\Request;
|
||||||
|
use Swoole\WebSocket\Frame;
|
||||||
|
use Swoole\WebSocket\Server;
|
||||||
|
use ZM\Http\Response;
|
||||||
|
|
||||||
interface ContextInterface
|
interface ContextInterface
|
||||||
{
|
{
|
||||||
public function __construct($param, $cid);
|
public function __construct($param, $cid);
|
||||||
|
|
||||||
|
/** @return Server */
|
||||||
public function getServer();
|
public function getServer();
|
||||||
|
|
||||||
|
/** @return Frame */
|
||||||
public function getFrame();
|
public function getFrame();
|
||||||
|
|
||||||
|
/** @return mixed */
|
||||||
public function getData();
|
public function getData();
|
||||||
|
|
||||||
|
/** @return int */
|
||||||
public function getCid();
|
public function getCid();
|
||||||
|
|
||||||
|
/** @return Response */
|
||||||
public function getResponse();
|
public function getResponse();
|
||||||
|
|
||||||
|
/** @return Request */
|
||||||
public function getRequest();
|
public function getRequest();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user