« ReflectionGenerator::getTrace
ReflectionFiber::__construct »
PHP Manual
Reflection
The ReflectionFiber class
The ReflectionFiber class
(PHP 8 >= 8.1.0)
Introduction
Class synopsis
final
class
ReflectionFiber
{
/* Methods */
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
}
Table of Contents
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