|
ReflectionMethod::createFromMethodNameCreates a new ReflectionMethod Description
public static static ReflectionMethod::createFromMethodName(string
$method)Creates a new ReflectionMethod. Parameters
Return ValuesReturns a new ReflectionMethod on success. Errors/ExceptionsA ReflectionException is thrown if the given method does not exist. ExamplesExample #1 ReflectionMethod::createFromMethodName example The above example will output:
object(ReflectionMethod)#1 (2) {
["name"]=>
string(3) "bar"
["class"]=>
string(3) "Foo"
}
|