ReflectionParameter::isPromoted

(PHP 8)

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

说明

public ReflectionParameter::isPromoted(): bool

Checks whether the parameter is promoted to a property.

参数

此函数没有参数。

返回值

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

参见