(PHP 5, PHP 7)
ReflectionClass::getMethod — ��ȡһ������� ReflectionMethod��
��ȡһ������� ReflectionMethod��
nameҪ����ķ������ơ�
һ�� ReflectionMethod��
�����������������׳� ReflectionException �쳣��
Example #1 ReflectionClass::getMethod() �Ļ����÷�
<?php
$class = new ReflectionClass('ReflectionClass');
$method = $class->getMethod('getMethod');
var_dump($method);
?>
�������̻������
object(ReflectionMethod)#2 (2) {
["name"]=>
string(9) "getMethod"
["class"]=>
string(15) "ReflectionClass"
}