ReflectionClassConstant::getDeclaringClass
(PHP 7 >= 7.1.0, PHP 8)
ReflectionClassConstant::getDeclaringClass — Gets declaring class
说明
public ReflectionClassConstant::getDeclaringClass(): ReflectionClassGets the declaring class.
参数
此函数没有参数。
返回值
A ReflectionClass object.
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/reflectionclassconstant.getdeclaringclass.php