PHP » GoLang |
login |
register |
about
|
GoLang ReflectionMethod::getPrototype
request it (227)
GoLang replacement for PHP's ReflectionMethod::getPrototype
[edit | history]
PHP ReflectionMethod::getPrototypePHP original manual for ReflectionMethod::getPrototype [ show | php.net ]ReflectionMethod::getPrototype(PHP 5 >= 5.1.2, PHP 7) ReflectionMethod::getPrototype — Gets the method prototype (if there is one) DescriptionReturns the methods prototype. ParametersThis function has no parameters. Return ValuesA ReflectionMethod instance of the method prototype. Errors/ExceptionsA ReflectionException exception is thrown if the method does not have a prototype. Examples
Example #1 ReflectionMethod::getPrototype() example
<?php The above example will output: object(ReflectionMethod)#2 (2) { ["name"]=> string(10) "sayHelloTo" ["class"]=> string(5) "Hello" } |
more
Recently updated
more
Most requested
more
Last requests
|