La classe ReflectionGenerator

(PHP 7, PHP 8)

Introduction

La classe ReflectionGenerator rapporte des informations à propos d'un générateur.

Synopsis de la classe

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

Historique

Version Description
8.0.0 La classe est final maintenant.

Sommaire

add a note

User Contributed Notes

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