ReflectionProperty::isReadOnly

(PHP 8 >= 8.1.0)

ReflectionProperty::isReadOnlyChecks if property is readonly

Description

publicReflectionProperty::isReadOnly(): bool

Checks whether the property is readonly.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

true if the property is readonly, false otherwise.

Voir aussi

To Top