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