2022-03-27 16:42:36 +08:00
|
|
|
# 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(mixed $path, mixed $indoor_name): mixed
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### 描述
|
|
|
|
|
|
|
|
|
|
作者很懒,什么也没有说
|
|
|
|
|
|
|
|
|
|
### 参数
|
|
|
|
|
|
|
|
|
|
| 名称 | 类型 | 描述 |
|
|
|
|
|
| -------- | ---- | ----------- |
|
|
|
|
|
| path | mixed | |
|
|
|
|
|
| indoor_name | mixed | |
|
2022-04-01 18:48:48 +08:00
|
|
|
|
2022-03-27 16:42:36 +08:00
|
|
|
### 返回
|
|
|
|
|
|
|
|
|
|
| 类型 | 描述 |
|
|
|
|
|
| ---- | ----------- |
|
|
|
|
|
| mixed | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## sortByLevel
|
|
|
|
|
|
|
|
|
|
```php
|
|
|
|
|
public function sortByLevel(mixed $events, string $class_name, string $prefix): mixed
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### 描述
|
|
|
|
|
|
|
|
|
|
作者很懒,什么也没有说
|
|
|
|
|
|
|
|
|
|
### 参数
|
|
|
|
|
|
|
|
|
|
| 名称 | 类型 | 描述 |
|
|
|
|
|
| -------- | ---- | ----------- |
|
|
|
|
|
| events | mixed | |
|
|
|
|
|
| class_name | string | |
|
|
|
|
|
| prefix | string | |
|
2022-04-01 18:48:48 +08:00
|
|
|
|
2022-03-27 16:42:36 +08:00
|
|
|
### 返回
|
|
|
|
|
|
|
|
|
|
| 类型 | 描述 |
|
|
|
|
|
| ---- | ----------- |
|
|
|
|
|
| mixed | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## verifyMiddlewares
|
|
|
|
|
|
|
|
|
|
```php
|
|
|
|
|
public function verifyMiddlewares(): mixed
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### 描述
|
|
|
|
|
|
|
|
|
|
作者很懒,什么也没有说
|
|
|
|
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
|
|
|
|
| 类型 | 描述 |
|
|
|
|
|
| ---- | ----------- |
|
|
|
|
|
| mixed | |
|