PHP 8.4.1 Released!

ReflectionClassConstant::getDeclaringClass

(PHP 7 >= 7.1.0, PHP 8)

ReflectionClassConstant::getDeclaringClassGets declaring class

Description

public ReflectionClassConstant::getDeclaringClass(): ReflectionClass

Gets the declaring class.

Parameters

This function has no parameters.

Return Values

A ReflectionClass object.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top