PHP ReflectionClass::getName 反射函数
-
定义和用法
ReflectionClass::getName - 获取类的名称。 -
版本支持
PHP4 PHP5 PHP7 不支持 支持 支持 -
语法
ReflectionClass::getName() 获取类名 -
参数
参数 必需的 描述 无 -
返回值
类名。 -
示例
-
相关页面
ReflectionClass::getNamespaceName() - 获取命名空间的名称