PHP - Manual: ReflectionClassConstant::getDeclaringClass
2024-12-22
(PHP 7 >= 7.1.0, PHP 8)
ReflectionClassConstant::getDeclaringClass — Gets declaring class
此函数没有参数。
A ReflectionClass object.
官方地址:https://www.php.net/manual/en/reflectionclassconstant.getdeclaringclass.php