ReflectionMethod::getModifiers

( excerpt from http://php

public function getModifiers(): int;

net/manual/en/reflectionmethod.getmodifiers.php )

Returns a bitfield of the access modifiers for this method.

Return Values

  • int - A numeric representation of the modifiers. The modifiers are listed below. The actual meanings of these modifiers are described in the predefined constants.