The ReflectionGenerator class

(PHP 7, PHP 8)

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top