|
ReflectionMethod::getModifiersGets the method modifiers Description
public int ReflectionMethod::getModifiers()
Returns a bitfield of the access modifiers for this method. ParametersThis function has no parameters. Return ValuesA numeric representation of the modifiers. The actual meaning of these modifiers are described under predefined constants. Examples
Example #1 ReflectionMethod::getModifiers example
The above example will output something similar to: Modifiers for method foo(): 49 final public static Modifiers for method bar(): 1 public See Also
|