在线文档教程
PHP
反射 | Reflection

ReflectionClassConstant::getDeclaringClass

ReflectionClassConstant::getDeclaringClass

(PHP 7 >= 7.1.0)

ReflectionClassConstant::getDeclaringClass — Gets declaring class

Description

public ReflectionClass ReflectionClassConstant::getDeclaringClass ( void )

Gets the declaring class.

Parameters

This function has no parameters.

Return Values

A ReflectionClass object.

← ReflectionClassConstant::export

ReflectionClassConstant::getDocComment →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/reflectionclassconstant.getdeclaringclass.php