ReflectionProperty::getName
PHP function
Edit on GitHub ✎
(PHP 5, PHP 7, PHP 8)
Gets property name
Description
ReflectionProperty::getName(): string
Gets the properties name.
Parameters Parameters
Return Values
The name of the reflected property.
See Also
ReflectionProperty::getValue