Reflection
PHP Manual

The ReflectionGenerator class

(PHP 7)

Introduction

The ReflectionGenerator class reports information about a generator.

Class synopsis

ReflectionGenerator {
/* Methods */
public __construct ( Generator $generator )
public string getExecutingFile ( void )
public Generator getExecutingGenerator ( void )
public int getExecutingLine ( void )
public ReflectionFunctionAbstract getFunction ( void )
public object getThis ( void )
public array getTrace ([ int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT ] )
}

Table of Contents


Reflection
PHP Manual