The ReflectionGenerator class

(PHP 7)

Introduction

The ReflectionGenerator class reports information about a generator.

Class synopsis

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

Table of Contents