(PHP 8 >= 8.1.0)

ReflectionFiber::getCallableGets the callable used to create the Fiber


public ReflectionFiber::getCallable(): callable

Returns the callable used to construct the Fiber. If the fiber has terminated, an Error is thrown.


This function has no parameters.

Return Values

The callable used to create the Fiber.

add a note

User Contributed Notes

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