mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-06 00:05:36 +08:00
2.4 KiB
2.4 KiB
ZM\Annotation\AnnotationHandler
__construct
public function __construct(string $annotation_class): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| annotation_class | string |
返回
| 类型 | 描述 |
|---|---|
| mixed |
interrupt
public function interrupt(mixed $return_var): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| return_var | mixed |
返回
| 类型 | 描述 |
|---|---|
| mixed |
setRuleCallback
public function setRuleCallback(callable $rule): ZM\Annotation\AnnotationHandler
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| rule | callable |
返回
| 类型 | 描述 |
|---|---|
| ZM\Annotation\AnnotationHandler |
setReturnCallback
public function setReturnCallback(callable $return): ZM\Annotation\AnnotationHandler
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| return | callable |
返回
| 类型 | 描述 |
|---|---|
| ZM\Annotation\AnnotationHandler |
handleAll
public function handleAll(mixed $params): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| params | mixed |
返回
| 类型 | 描述 |
|---|---|
| mixed |
handle
public function handle(ZM\Annotation\AnnotationBase $v, callable $rule_callback, mixed $args): bool
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| v | ZM\Annotation\AnnotationBase | |
| rule_callback | callable | |
| args | mixed |
返回
| 类型 | 描述 |
|---|---|
| bool |
getStatus
public function getStatus(): int
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| int |
getReturnVal
public function getReturnVal(): mixed
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| mixed |