add phpdoc to ZMBuf

This commit is contained in:
sunxyw
2022-04-05 00:24:37 +08:00
committed by sunxyw
parent 60ea2c7e12
commit 9f7ebceeb9

View File

@@ -10,13 +10,39 @@ declare(strict_types=1);
namespace ZM\Store;
use ZM\Context\ContextInterface;
class ZMBuf
{
/**
* 注册的事件
*
* @deprecated 不再使用
*
* @var array
*/
public static $events = [];
/**
* 全局单例容器
*
* @var array
*/
public static $instance = [];
/**
* 上下文容器
*
* @var array<int, ContextInterface>
*/
public static $context_class = [];
/**
* 终端输入流?
*
* 目前等用于 STDIN
*
* @var resource
*/
public static $terminal;
}