(PHP 8)
ReflectionParameter::isPromoted — Checks if a parameter is promoted to a property
Checks whether the parameter is promoted to a property.
此函数没有参数。
true if the parameter is promoted to a property, false otherwise.
true
false