编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « ReflectionClassConstant::export
  • ReflectionClassConstant::getDocComment »
  • PHP Manual
  • ReflectionClassConstant
  • Gets declaring class

ReflectionClassConstant::getDeclaringClass

(PHP 7 >= 7.1.0)

ReflectionClassConstant::getDeclaringClass — Gets declaring class

说明

public ReflectionClassConstant::getDeclaringClass ( void ) : ReflectionClass

Gets the declaring class.

参数

此函数没有参数。

返回值

A ReflectionClass object.

相关文章
php appenditerator gets the arrayiteratorphp arrayobject gets the behavior flagsphp 反射 the reflectionclassconstant classphp uopz 函数 gets value of class or instance propertyphp imagick gets the gravityphp imagick gets channel rangephp imagick gets the image gammaphp imagick gets the potential image typephp reflectionclass gets a reflectionclassconstant for a class s constantphp reflectionclass gets class constantsphp reflectionclassconstant gets declaring classphp reflectionclassconstant gets doc commentsphp reflectionclassconstant gets the class constant modifiersphp reflectionclassconstant gets valuephp reflectionclassconstant checks if class constant is privatephp reflectionclassconstant checks if class constant is protectedphp reflectionclassconstant checks if class constant is publicphp reflectionparameter gets declaring classphp reflectionparameter gets declaring functionphp reflectionproperty gets declaring class
关注编程学问公众号
编程学问网 湘ICP备20001732号