ReflectionProperty::getModifiers
(PHP 5, PHP 7, PHP 8)
ReflectionProperty::getModifiers — Gets the property modifiers
Description
Gets the modifiers.
Parameters
This function has no parameters.
Return Values
A numeric representation of the modifiers. The actual meaning of these modifiers are described under predefined constants.
See Also
- ReflectionProperty::isPrivate() - Checks if property is private
- Reflection::getModifierNames() - Gets modifier names