改名
This commit is contained in:
@@ -34,6 +34,19 @@ abstract class BaseAnnotation extends Component
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param string $class
|
||||
* @return string[]
|
||||
* @throws ReflectionException
|
||||
*/
|
||||
public function getAnnotation(string $class)
|
||||
{
|
||||
$reflect = Snowflake::getDi()->getReflect($class);
|
||||
|
||||
return $this->getPrivates($reflect);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param ReflectionClass $reflect
|
||||
* @param array $rules
|
||||
|
||||
Reference in New Issue
Block a user