The ReflectionGenerator class

(PHP 7)

Introduction

The ReflectionGenerator class reports information about a generator.

Class synopsis

ReflectionGenerator {
/* Methods */
public __construct ( Generator $generator )
public getExecutingFile ( ) : string
public getExecutingLine ( ) : int
public getThis ( ) : object|null
public getTrace ( int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT ) : array
}

Table of Contents