ReflectionProperty::isPromoted
En esta página
ReflectionProperty::isPromoted
Verifica si la propiedad está promovida
Descripción#
public ReflectionProperty::isPromoted(): bool
```php
Verifica si la propiedad está [promovida](#language.oop5.decon.constructor.promotion)
## Parámetros
Esta función no contiene ningún parámetro.
## Valores devueltos
`true` si la propiedad está promovida, `false` en caso contrario.
## Ejemplos
Ejemplo de ReflectionProperty::isPromoted
```php
El ejemplo anterior mostrará:
bool(true)
bool(false)
Véase también#
ReflectionProperty::isDefault, ReflectionProperty::isInitialized, ReflectionProperty::getValue