mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-20 23:25:35 +08:00
add phpdoc to ZMBuf
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user