ReflectionMethod::createFromMethodName
Creates a new ReflectionMethod
&reftitle.description;
public static staticReflectionMethod::createFromMethodName
stringmethod
Creates a new ReflectionMethod.
&reftitle.parameters;
method
Class name and method name delimited by ::.
&reftitle.returnvalues;
Returns a new ReflectionMethod on success.
&reftitle.errors;
A ReflectionException is thrown if the given method does not exist.
&reftitle.examples;
ReflectionMethod::createFromMethodName example
]]>
&example.outputs;
string(3) "bar"
["class"]=>
string(3) "Foo"
}
]]>