PHP 8.5.0 Beta 2 available for testing

The ReflectionGenerator class

(PHP 7, PHP 8)

Introduction

The ReflectionGenerator class reports information about a generator.

Class synopsis

final class ReflectionGenerator {
/* Methods */
public __construct (Generator $generator)
public getExecutingLine (): int
public getThis (): ? object
public isClosed (): bool
}

Changelog

Version Description
8.0.0 The class is final now.

Table of Contents

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /