PHP » GoLang |
login |
register |
about
|
GoLang ReflectionMethod::__construct
request it (378)
GoLang replacement for PHP's ReflectionMethod::__construct
[edit | history]
PHP ReflectionMethod::__constructPHP original manual for ReflectionMethod::__construct [ show | php.net ]ReflectionMethod::__construct(PHP 5, PHP 7) ReflectionMethod::__construct — Constructs a ReflectionMethod Description
public ReflectionMethod::__construct
( string
$class_method
)Constructs a new ReflectionMethod. Parameters
Return ValuesNo value is returned. Errors/ExceptionsA ReflectionException is thrown if the given method does not exist. Examples
Example #1 ReflectionMethod::__construct() example
<?php The above example will output something similar to: ===> The user-defined final public static method 'increment' (which is a regular method) declared in /Users/philip/cvs/phpdoc/test.php lines 14 to 17 having the modifiers 261[final public static] ---> Documentation: '/** * Increment counter * * @final * @static * @access public * @return int */' ---> Invocation results in: int(1) |
more
Recently updated
more
Most requested
more
Last requests
|