ReflectionMethod::createFromMethodName
ReflectionMethod を作成する
&reftitle.description;
public static staticReflectionMethod::createFromMethodName
stringmethod
新しい ReflectionMethod を作成します。
&reftitle.parameters;
method
:: で区切られたクラス名とメソッド名。
&reftitle.returnvalues;
成功した場合、新しい
ReflectionMethod を返します。
&reftitle.errors;
指定したメソッドが存在しない場合は、
ReflectionException がスローされます。
&reftitle.examples;
ReflectionMethod::createFromMethodName の例
]]>
&example.outputs;
string(3) "bar"
["class"]=>
string(3) "Foo"
}
]]>