ReflectionClass::getModifiers

( excerpt from http://php.net/manual/en/reflectionclass.getmodifiers.php )

Description

public function getModifiers(): int

( excerpt from http://php.net/manual/en/reflectionclass.getmodifiers.php )

Returns a bitfield of the access modifiers for this class.

Return Values

  • int - Returns bitmask of modifier constants.