ReflectionClass::getModifiers

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

public function getModifiers(): int;

Returns a bitfield of the access modifiers for this class.

Returns

  • int - Returns bitmask of modifier constants.