mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-19 05:34:53 +08:00
update for IDE support
This commit is contained in:
parent
438a204751
commit
e3ffeec782
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user