mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-06 08:15:36 +08:00
2.5 KiB
2.5 KiB
ZM\Annotation\AnnotationParser
__construct
public function __construct(bool $with_internal_parsers): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| with_internal_parsers | bool |
返回
| 类型 | 描述 |
|---|---|
| mixed |
addSpecialParser
public function addSpecialParser(string $class_name, callable $callback): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| class_name | string | |
| callback | callable |
返回
| 类型 | 描述 |
|---|---|
| mixed |
parseAll
public function parseAll(): mixed
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| mixed |
generateAnnotationList
public function generateAnnotationList(): array
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| array |
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 |
getUsedTime
public function getUsedTime(): float
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| float |
getAnnotationMap
public function getAnnotationMap(): array
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| array |
addRouteAnnotation
public function addRouteAnnotation(ZM\Annotation\Http\Route $vss): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| vss | ZM\Annotation\Http\Route |
返回
| 类型 | 描述 |
|---|---|
| mixed |