ReflectionFiber::getCallable

(PHP 8 >= 8.1.0)

ReflectionFiber::getCallableGets the callable used to create the Fiber

Description

publicReflectionFiber::getCallable(): callable

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

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

The callable used to create the Fiber.

To Top