php8.5
Home/ Manual/ reflection / reflectionproperty/ ReflectionProperty::getName

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

Source: reference/reflection/reflectionproperty/getname.xml · from the official PHP manual (php/doc-en)