生成器反射类

(PHP 7, PHP 8)

简介

ReflectionGenerator类用于获取生成器的信息。

类摘要

class ReflectionGenerator {
/* 方法 */
public getExecutingFile(): string
public getExecutingLine(): int
public getThis(): ?object
public getTrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT): array
}

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

备份地址:http://www.lvesu.com/blog/php/class.reflectiongenerator.php