ReflectionGenerator クラス
(PHP 7, PHP 8)
はじめに
ReflectionGenerator クラスは、ジェネレータに関する情報を報告します。
クラス概要
final
class ReflectionGenerator
{
/* メソッド */
}変更履歴
バージョン | 説明 |
---|---|
8.0.0 | このクラスは final として定義され、 継承できなくなりました。 |
目次
- ReflectionGenerator::__construct — ReflectionGenerator オブジェクトを構築する
- ReflectionGenerator::getExecutingFile — 現在実行中のジェネレータのファイル名を取得する
- ReflectionGenerator::getExecutingGenerator — 実行中の Generator オブジェクトを取得する
- ReflectionGenerator::getExecutingLine — 現在実行中のジェネレータの行を取得する
- ReflectionGenerator::getFunction — ジェネレータの関数名を取得する
- ReflectionGenerator::getThis — ジェネレータの $this の値を取得する
- ReflectionGenerator::getTrace — 実行中のジェネレータのトレースを取得する
+add a note
User Contributed Notes
There are no user contributed notes for this page.