ReflectionClassConstant
PHP Manual

ReflectionClassConstant::getDeclaringClass

(PHP 7 >= 7.1.0)

ReflectionClassConstant::getDeclaringClassGets declaring class

Description

public ReflectionClass ReflectionClassConstant::getDeclaringClass ( void )

Gets the declaring class.

Parameters

This function has no parameters.

Return Values

A ReflectionClass object.


ReflectionClassConstant
PHP Manual