PHP ReflectionClass::getParentClass 反射函数

  • 定义和用法

    ReflectionClass::getParentClass - 获取父类
  • 版本支持

    PHP4 PHP5 PHP7
    不支持 支持 支持
  • 语法

    ReflectionClass::getParentClass( void )
    ReflectionClass::getParentClass() 获取命名空间(namespace)的名称。
  • 参数

    参数 必需的 描述
  • 返回值

    一个 ReflectionClass。
  • 相关页面

    ReflectionClass::__construct() - 初始化 ReflectionClass 类