PHP » GoLang |
login |
register |
about
|
GoLang ReflectionClass::getMethod
request it (638)
GoLang replacement for PHP's ReflectionClass::getMethod
[edit | history]
PHP ReflectionClass::getMethodPHP original manual for ReflectionClass::getMethod [ show | php.net ]ReflectionClass::getMethod(PHP 5, PHP 7) ReflectionClass::getMethod — Gets a ReflectionMethod for a class method DescriptionGets a ReflectionMethod for a class method. Parameters
Return ValuesErrors/ExceptionsA ReflectionException if the method does not exist. Examples
Example #1 Basic usage of ReflectionClass::getMethod()
<?phpThe above example will output:
object(ReflectionMethod)#2 (2) {
["name"]=>
string(9) "getMethod"
["class"]=>
string(15) "ReflectionClass"
}
|
more
Most requested
more
Last requests
|