« ReflectionUnionType::getTypes
ReflectionGenerator::__construct »

ReflectionGenerator クラス

(PHP 7, PHP 8)

はじめに

ReflectionGenerator クラスは、ジェネレータに関する情報を報告します。

クラス概要

final class ReflectionGenerator {
/* メソッド */
public function __construct(Generator $generator)
public function getExecutingFile(): string
public function getExecutingGenerator(): Generator
public function getExecutingLine(): int
public function getThis(): ?object
public function getTrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT): array
public function isClosed(): bool
}

変更履歴

バージョン 説明
8.0.0 このクラスは final として定義され、 継承できなくなりました。

目次

関連キーワード:
ReflectionGenerator   ジェネレータ   construct   Generator   final   getExecutingFile   getExecutingGenerator   getExecutingLine   getFunction   getThis   getTrace   isClosed   ReflectionUnionType   getTypes   リフレクション   報告   概要   generator   ReflectionFunctionAbstract   options   履歴   継承   目次   構築   トレース
関連する関数・ページ:
reflectiongenerator.getexecutingline   reflectiongenerator.getexecutingfile   reflectiongenerator.getfunction   reflectiongenerator.getthis   reflectiongenerator.gettrace   reflectiongenerator.construct