ReflectionClass::getMethod
Obtiene un ReflectionMethod para un método de clase
&reftitle.description;
public ReflectionMethodReflectionClass::getMethod
stringname
Obtiene un ReflectionMethod para un método de clase.
&reftitle.parameters;
name
El nombre del método a reflejar.
&reftitle.returnvalues;
Un objeto ReflectionMethod.
&reftitle.errors;
Una excepción ReflectionException si el método no existe.
&reftitle.examples;
Uso simple de ReflectionClass::getMethod
getMethod('getMethod');
var_dump($method);
?>
]]>
&example.outputs;
string(9) "getMethod"
["class"]=>
string(15) "ReflectionClass"
}
]]>
&reftitle.seealso;
ReflectionClass::getMethods