php / 8.1.5 / reflectionproperty.getname.html /

ReflectionProperty::getName

(PHP 5, PHP 7, PHP 8)

ReflectionProperty::getNameGets property name

Description

public ReflectionProperty::getName(): string

Gets the properties name.

Parameters

This function has no parameters.

Return Values

The name of the reflected property.

See Also

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionproperty.getname.php