ReflectionProperty::getModifiers

(PHP 5, PHP 7, PHP 8)

ReflectionProperty::getModifiersGets 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