| | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
ReflectionClass::getMethod(PHP 5, PHP 7) ReflectionClass::getMethod — クラスメソッドの ReflectionMethod を取得する 説明クラスメソッドに関する ReflectionMethod を取得します。 パラメータ
返り値ReflectionMethod を返します。 エラー / 例外メソッドが存在しない場合に ReflectionException が発生します。 例
例1 ReflectionClass::getMethod() の基本的な使用例
<?php上の例の出力は以下となります。
object(ReflectionMethod)#2 (2) {
["name"]=>
string(9) "getMethod"
["class"]=>
string(15) "ReflectionClass"
}
|
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「ReflectionClass::getMethod - クラスメソッドの ReflectionMethod を取得する」をGoogle検索
|