PHP » GoLang |
login |
register |
about
|
GoLang ReflectionMethod::getModifiers
request it (418)
GoLang replacement for PHP's ReflectionMethod::getModifiers
[edit | history]
PHP ReflectionMethod::getModifiersPHP original manual for ReflectionMethod::getModifiers [ show | php.net ]ReflectionMethod::getModifiers(PHP 5, PHP 7) ReflectionMethod::getModifiers — Gets 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 |
more
Recently updated
more
Most requested
more
Last requests
|