PHP ReflectionClass::getInterfaces 反射函数
-
定义和用法
ReflectionClass::getInterfaces - 获取接口 -
版本支持
PHP4 PHP5 PHP7 不支持 支持 支持 -
语法
ReflectionClass::getInterfaces() 获取接口(interface)名称。 -
参数
参数 必需的 描述 无 -
返回值
接口的关联数组,数组键是接口(interface)的名称,数组的值是 ReflectionClass 对象。 -
示例
-
相关页面
ReflectionClass::getInterfaceNames() - 获取接口(interface)名称