mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-09 01:35:35 +08:00
2.2 KiB
2.2 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): void
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| class_name | string | |
| callback | callable |
返回
| 类型 | 描述 |
|---|---|
| void |
parseAll
public function parseAll(): void
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| void |
generateAnnotationList
public function generateAnnotationList(): array
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| array |
addRegisterPath
public function addRegisterPath(string $path, string $indoor_name): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| path | string | |
| indoor_name | string |
返回
| 类型 | 描述 |
|---|---|
| mixed |
getUsedTime
public function getUsedTime(): float
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| float |
getAnnotationMap
public function getAnnotationMap(): array
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| array |
addRouteAnnotation
public function addRouteAnnotation(ZM\Annotation\Http\Route $vss, array $same_method_annotations): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| vss | ZM\Annotation\Http\Route | |
| same_method_annotations | array |
返回
| 类型 | 描述 |
|---|---|
| mixed |