PHP » GoLang |
login |
register |
about
|
GoLang ReflectionClass::hasMethod
request it (319)
GoLang replacement for PHP's ReflectionClass::hasMethod
[edit | history]
PHP ReflectionClass::hasMethodPHP original manual for ReflectionClass::hasMethod [ show | php.net ]ReflectionClass::hasMethod(PHP 5 >= 5.1.2, PHP 7) ReflectionClass::hasMethod — Checks if method is defined Description
public bool ReflectionClass::hasMethod
( string
$name
)Checks whether a specific method is defined in a class. Parameters
Return Values
Examples
Example #1 ReflectionClass::hasMethod() example
<?php The above example will output: bool(true) bool(true) bool(true) bool(true) bool(false) bool(true) See Also
|
more
Recently updated
more
Most requested
more
Last requests
|