ReflectionClass::getMethod
Bir sınıf yöntemi için bir ReflectionMethod
nesnesi döndürür
&reftitle.description;
public ReflectionMethodReflectionClass::getMethod
stringisim
İsmi belirtilen yöntem için bir ReflectionMethod
nesnesi döndürür
&reftitle.parameters;
isim
Bilgileri yansıtılacak yöntemin ismi.
&reftitle.returnvalues;
Bir ReflectionMethod nesnesi.
&reftitle.errors;
Yöntem mevcut feğilse bir ReflectionException
yavrulanır.
&reftitle.examples;
- ReflectionClass::getMethod örneği
getMethod('getMethod');
var_dump($method);
?>
]]>
&example.outputs;
string(9) "getMethod"
["class"]=>
string(15) "ReflectionClass"
}
]]>
&reftitle.seealso;
ReflectionClass::getMethods