PHP 8.0.0 Released!

生成器反射类

(PHP 7)

简介

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

类摘要

ReflectionGenerator {
/* 方法 */
public __construct ( Generator $generator )
public getExecutingFile ( ) : string
public getExecutingLine ( ) : int
public getThis ( ) : object
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