(PHP 5, PHP 7, PHP 8)
ReflectionProperty::getModifiers — Gets the property modifiers
public ReflectionProperty::getModifiers(): int
Gets the modifiers.
This function has no parameters.
A numeric representation of the modifiers. The actual meaning of these modifiers are described under predefined constants.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionproperty.getmodifiers.php