GoLang ReflectionClassConstant::getModifiers

request it (259)
GoLang replacement for PHP's ReflectionClassConstant::getModifiers [edit | history]

Do you know a GoLang replacement for PHP's ReflectionClassConstant::getModifiers? Write it!

PHP ReflectionClassConstant::getModifiers

PHP original manual for ReflectionClassConstant::getModifiers [ show | php.net ]


(PHP 7 >= 7.1.0)

ReflectionClassConstant::getModifiersGets the class constant modifiers


public int ReflectionClassConstant::getModifiers ( void )

Returns a bitfield of the access modifiers for this class constant.


This function has no parameters.

Return Values

A numeric representation of the modifiers. The actual meanings of these modifiers are described in the predefined constants.

See Also