php8.5
Home/ Manual/ reflection / reflectionparameter/ ReflectionParameter::isPromoted

ReflectionParameter::isPromoted

PHP function Edit on GitHub ✎

(PHP 8)

Checks if a parameter is promoted to a property

Description

ReflectionParameter::isPromoted(): bool

Checks whether the parameter is promoted to a property.

Parameters Parameters

Return Values

true if the parameter is promoted to a property, false otherwise.

See Also

  • ReflectionProperty::isPromoted

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