PHP » GoLang |
login |
register |
about
|
GoLang ReflectionParameter::getDeclaringClass
request it (581)
GoLang replacement for PHP's ReflectionParameter::getDeclaringClass
[edit | history]
PHP ReflectionParameter::getDeclaringClassPHP original manual for ReflectionParameter::getDeclaringClass [ show | php.net ]ReflectionParameter::getDeclaringClass(PHP 5 >= 5.1.3, PHP 7) ReflectionParameter::getDeclaringClass — Gets declaring class DescriptionGets the declaring class. Warning
This function is currently not documented; only its argument list is available. ParametersThis function has no parameters. Return Values
A ReflectionClass object or Examples
Example #1 Getting the class that declared the method
<?phpThe above example will output:
object(ReflectionClass)#2 (1) {
["name"]=>
string(3) "Foo"
}
|
more
Most requested
more
Last requests
|