Gets the property modifiers

# ReflectionProperty::getModifiers

(PHP 5, PHP 7, PHP 8)

ReflectionProperty::getModifiers — Gets the property modifiers

### Description

public ReflectionProperty::getModifiers(): int

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

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open