TARGET_CLASS
TARGET_CLASS = 'class'
注解目标-类
视图注解处理器
$viewCache : array<mixed,\Imi\Server\View\Annotation\View>
视图注解缓存
parse(\Imi\Bean\Annotation\Base $annotation, string $className, string $target, string $targetName) : void
处理方法
\Imi\Bean\Annotation\Base | $annotation | 注解类 |
string | $className | 类名 |
string | $target | 注解目标类型(类/属性/方法) |
string | $targetName | 注解目标名称 |
getByCallable(callable $callable) : \Imi\Server\View\Annotation\View
获取对应动作的视图注解
callable | $callable |