phpday 2022

The ReflectionGenerator class

(PHP 7, PHP 8)

Introdução

The ReflectionGenerator class reports information about a generator.

Sinopse da classe

final class ReflectionGenerator {
/* Métodos */
public __construct(Generator $generator)
public getExecutingFile(): string
public getExecutingLine(): int
public getThis(): ?object
public getTrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT): array
}

Changelog

Versão Descrição
8.0.0 The class is final now.

Índice

add a note add a note

User Contributed Notes

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