International PHP Conference Berlin 2025

ReflectionParameter::isPromoted

(PHP 8)

ReflectionParameter::isPromotedChecks if a parameter is promoted to a property

Description

public ReflectionParameter::isPromoted(): bool

Checks whether the parameter is promoted to a property.

Parameters

This function has no parameters.

Return Values

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

See Also

add a note

User Contributed Notes

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