mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-24 00:55:35 +08:00
add phpdoc to ZMBuf
This commit is contained in:
@@ -10,13 +10,39 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace ZM\Store;
|
namespace ZM\Store;
|
||||||
|
|
||||||
|
use ZM\Context\ContextInterface;
|
||||||
|
|
||||||
class ZMBuf
|
class ZMBuf
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* 注册的事件
|
||||||
|
*
|
||||||
|
* @deprecated 不再使用
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
public static $events = [];
|
public static $events = [];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 全局单例容器
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
public static $instance = [];
|
public static $instance = [];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 上下文容器
|
||||||
|
*
|
||||||
|
* @var array<int, ContextInterface>
|
||||||
|
*/
|
||||||
public static $context_class = [];
|
public static $context_class = [];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 终端输入流?
|
||||||
|
*
|
||||||
|
* 目前等用于 STDIN
|
||||||
|
*
|
||||||
|
* @var resource
|
||||||
|
*/
|
||||||
public static $terminal;
|
public static $terminal;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user