PHP 8.1.31 Released!

ReflectionFiber::getCallable

(PHP 8 >= 8.1.0)

ReflectionFiber::getCallableGets the callable used to create the Fiber

Description

public ReflectionFiber::getCallable(): callable

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

Parameters

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