Zhamao Framework 3.2.4
A high-performance chatbot + web framework
载入中...
搜索中...
未找到
AnnotationMap类 参考

静态 Public 成员函数

static loadAnnotationList (array $list)
 
static loadAnnotationMap (array $map)
 
static addSingleAnnotation (AnnotationBase $annotation, bool $sort=false)
 
static getAnnotationList (string $class_name)
 
static sortAnnotationList ()
 

静态 Public 属性

static array $_list = []
 
static array $_map = []
 

详细描述

注解全局存取位置

成员函数说明

◆ addSingleAnnotation()

static addSingleAnnotation ( AnnotationBase  $annotation,
bool  $sort = false 
)
static

添加一个独立的注解到全局注解列表中

参数
AnnotationBase$annotation注解对象
bool$sort是否在添加后排序(默认为 False)
函数调用图:

◆ getAnnotationList()

static getAnnotationList ( string  $class_name)
static
返回
AnnotationBase[]

◆ loadAnnotationList()

static loadAnnotationList ( array  $list)
static

◆ loadAnnotationMap()

static loadAnnotationMap ( array  $map)
static

◆ sortAnnotationList()

static sortAnnotationList ( )
static

排序所有的注解(仅排序 List,不排序 Map)

@phpstan-ignore-line

结构体成员变量说明

◆ $_list

array $_list = []
static

◆ $_map

array $_map = []
static

该类的文档由以下文件生成: