zhamao-framework/docs/api/ZM/Annotation/AnnotationParser.md
Github Build Bot c1a877489b update api docs
2022-04-02 17:31:48 +00:00

1.4 KiB

ZM\Annotation\AnnotationParser

__construct

public function __construct(): mixed

描述

AnnotationParser constructor.

返回

类型 描述
mixed

registerMods

public function registerMods(): mixed

描述

注册各个模块类的注解和模块level的排序

返回

类型 描述
mixed

addRegisterPath

public function addRegisterPath(string $path, string $indoor_name): mixed

描述

作者很懒,什么也没有说

参数

名称 类型 描述
path string 注册解析注解的路径
indoor_name string 起始命名空间的名称

返回

类型 描述
mixed

sortByLevel

public function sortByLevel(array $events, string $class_name, string $prefix): mixed

描述

作者很懒,什么也没有说

参数

名称 类型 描述
events array 需要排序的
class_name string 排序的类名
prefix string 前缀

返回

类型 描述
mixed

verifyMiddlewares

public function verifyMiddlewares(): mixed

描述

作者很懒,什么也没有说

返回

类型 描述
mixed