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