« ReflectionGenerator::getTrace
ReflectionFiber::__construct »
PHP Manual
反射
ReflectionFiber 类
ReflectionFiber 类
(PHP 8 >= 8.1.0)
简介
类摘要
final
class
ReflectionFiber
{
/* 方法 */
public
__construct
(
Fiber
$fiber
)
public
getCallable
():
callable
public
getExecutingFile
():
?
string
public
getExecutingLine
():
?
int
public
getFiber
():
Fiber
public
getTrace
(
int
$options
=
DEBUG_BACKTRACE_PROVIDE_OBJECT
):
array
}
目录
ReflectionFiber::__construct
— Constructs a ReflectionFiber object
ReflectionFiber::getCallable
— Gets the callable used to create the Fiber
ReflectionFiber::getExecutingFile
— Get the file name of the current execution point
ReflectionFiber::getExecutingLine
— Get the line number of the current execution point
ReflectionFiber::getFiber
— Get the reflected Fiber instance
ReflectionFiber::getTrace
— Get the backtrace of the current execution point