ReflectionProperty::getModifiers

(PHP 5, PHP 7, PHP 8)

ReflectionProperty::getModifiersGets the property modifiers

說(shuō)明

public ReflectionProperty::getModifiers(): int

Gets the modifiers.

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

A numeric representation of the modifiers. The actual meaning of these modifiers are described under predefined constants.

參見(jiàn)