# ZM\Annotation\AnnotationParser ## __construct ```php public function __construct(): mixed ``` ### 描述 AnnotationParser constructor. ### 返回 | 类型 | 描述 | | ---- | ----------- | | mixed | | ## registerMods ```php public function registerMods(): mixed ``` ### 描述 注册各个模块类的注解和模块level的排序 ### 返回 | 类型 | 描述 | | ---- | ----------- | | mixed | | ## addRegisterPath ```php public function addRegisterPath(string $path, string $indoor_name): mixed ``` ### 描述 作者很懒,什么也没有说 ### 参数 | 名称 | 类型 | 描述 | | -------- | ---- | ----------- | | path | string | 注册解析注解的路径 | | indoor_name | string | 起始命名空间的名称 | ### 返回 | 类型 | 描述 | | ---- | ----------- | | mixed | | ## sortByLevel ```php public function sortByLevel(array $events, string $class_name, string $prefix): mixed ``` ### 描述 作者很懒,什么也没有说 ### 参数 | 名称 | 类型 | 描述 | | -------- | ---- | ----------- | | events | array | 需要排序的 | | class_name | string | 排序的类名 | | prefix | string | 前缀 | ### 返回 | 类型 | 描述 | | ---- | ----------- | | mixed | | ## verifyMiddlewares ```php public function verifyMiddlewares(): mixed ``` ### 描述 作者很懒,什么也没有说 ### 返回 | 类型 | 描述 | | ---- | ----------- | | mixed | |