ReflectionFiber::getCallable

(PHP 8 >= 8.1.0)

ReflectionFiber::getCallable — Gets the callable used to create the Fiber

说明

public function 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.

+添加备注

用户贡献的备注

此页面尚无用户贡献的备注。