ReflectionAttribute::getName (PHP 8)ReflectionAttribute::getName — 获取属性名称 说明 public ReflectionAttribute::getName(): string 获取属性名称。 参数 此函数没有参数。 返回值 属性的名称。