The ReflectionGenerator class

Introduction

The ReflectionGenerator class reports information about a generator.

Class synopsis

final ReflectionGenerator
/* Methods */
public __construct(Generator $generator)
public string getExecutingFile()
public Generator getExecutingGenerator()
public int getExecutingLine()
public ReflectionFunctionAbstract getFunction()
public objectnull getThis()
public array getTrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT)
public bool isClosed()

Changelog

Version Description
8.0.0 The class is final now.

Table of Contents