TARGET_CLASS
TARGET_CLASS = 'class'
注解目标-类
parse(\Imi\Bean\Annotation\Base $annotation, string $className, string $target, string $targetName) : void
处理方法
| \Imi\Bean\Annotation\Base | $annotation | 注解类 |
| string | $className | 类名 |
| string | $target | 注解目标类型(类/属性/方法) |
| string | $targetName | 注解目标名称 |
<?php
namespace Imi\Lock\Annotation\Parser;
use Imi\Bean\Parser\BaseParser;
class LockParser extends BaseParser
{
/**
* 处理方法
* @param \Imi\Bean\Annotation\Base $annotation 注解类
* @param string $className 类名
* @param string $target 注解目标类型(类/属性/方法)
* @param string $targetName 注解目标名称
* @return void
*/
public function parse(\Imi\Bean\Annotation\Base $annotation, string $className, string $target, string $targetName)
{
}
}