diff --git a/reference/reflection/reflectionmethod/createfrommethodname.xml b/reference/reflection/reflectionmethod/createfrommethodname.xml new file mode 100644 index 000000000000..a662cc39f7a7 --- /dev/null +++ b/reference/reflection/reflectionmethod/createfrommethodname.xml @@ -0,0 +1,102 @@ + + + + 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; + + <methodname>ReflectionMethod::createFromMethodName</methodname> example + + +]]> + + &example.outputs; + + + string(3) "bar" + ["class"]=> + string(3) "Foo" +} +]]> + + + + + + diff --git a/reference/reflection/versions.xml b/reference/reflection/versions.xml index 467515465f62..c9306527d28e 100644 --- a/reference/reflection/versions.xml +++ b/reference/reflection/versions.xml @@ -121,6 +121,7 @@ +