Properties

Methods

getAll()

getAll(string  $className, string|null  $where = null) : array<mixed,\Imi\Bean\Annotation\Model\IAnnotationRelation>

获取所有注解列表 如果 $where 为 null,则返回指定注解列表

Parameters

string $className
string|null $where

Returns

array<mixed,\Imi\Bean\Annotation\Model\IAnnotationRelation>

removeClassRelation()

removeClassRelation(string  $annotationClassName, string  $className) : void

移除类注解关联

Parameters

string $annotationClassName
string $className

removeMethodRelation()

removeMethodRelation(string  $annotationClassName, string  $className, string  $methodName) : void

移除类注解关联

Parameters

string $annotationClassName
string $className
string $methodName

removePropertyRelation()

removePropertyRelation(string  $annotationClassName, string  $className, string  $propertyName) : void

移除类注解关联

Parameters

string $annotationClassName
string $className
string $propertyName

removeConstantRelation()

removeConstantRelation(string  $annotationClassName, string  $className, string  $constantName) : void

移除类注解关联

Parameters

string $annotationClassName
string $className
string $constantName