ReflectionFiber::getCallable

(PHP 8 >= 8.1.0)

ReflectionFiber::getCallableGets the callable used to create the Fiber

Descripción

public ReflectionFiber::getCallable(): callable

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

Parámetros

Esta función no tiene parámetros.

Valores devueltos

The callable used to create the Fiber.