ReflectionFiber::getCallable

(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.

参数

此函数没有参数。

返回值

The callable used to create the Fiber.