ZM\Annotation\AnnotationParser
__construct
public function __construct(bool $with_internal_parsers): mixed
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| with_internal_parsers |
bool |
|
返回
addSpecialParser
public function addSpecialParser(string $class_name, callable $callback): mixed
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| class_name |
string |
|
| callback |
callable |
|
返回
parseAll
public function parseAll(): mixed
描述
作者很懒,什么也没有说
返回
generateAnnotationList
public function generateAnnotationList(): array
描述
作者很懒,什么也没有说
返回
addRegisterPath
public function addRegisterPath(string $path, string $indoor_name): mixed
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| path |
string |
|
| indoor_name |
string |
|
返回
sortByLevel
public function sortByLevel(array $events, string $class_name, string $prefix): mixed
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| events |
array |
|
| class_name |
string |
|
| prefix |
string |
|
返回
getUsedTime
public function getUsedTime(): float
描述
作者很懒,什么也没有说
返回
getAnnotationMap
public function getAnnotationMap(): array
描述
作者很懒,什么也没有说
返回
addRouteAnnotation
public function addRouteAnnotation(ZM\Annotation\Http\Route $vss): mixed
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| vss |
ZM\Annotation\Http\Route |
|
返回