PHP » GoLang |
login |
register |
about
|
GoLang ReflectionGenerator::getFunction
request it (381)
GoLang replacement for PHP's ReflectionGenerator::getFunction
[edit | history]
PHP ReflectionGenerator::getFunctionPHP original manual for ReflectionGenerator::getFunction [ show | php.net ]ReflectionGenerator::getFunction(PHP 7) ReflectionGenerator::getFunction — Gets the function name of the generator DescriptionEnables the function name of the generator to be obtained by returning a class derived from ReflectionFunctionAbstract. ParametersThis function has no parameters. Return ValuesReturns a ReflectionFunctionAbstract class. This will be ReflectionFunction for functions, or ReflectionMethod for methods. Examples
Example #1 ReflectionGenerator::getFunction() example
<?php The above example will output something similar to: object(ReflectionFunction)#3 (1) { ["name"]=> string(3) "gen" } See Also
|
more
Recently updated
more
Most requested
more
Last requests
|