php8.5
Home/ Manual/ reflection / reflectionfiber/ ReflectionFiber::getCallable

ReflectionFiber::getCallable

PHP function Edit on GitHub ✎

(PHP 8 >= 8.1.0)

Gets the callable used to create the Fiber

Description

ReflectionFiber::getCallable(): callable

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

Parameters Parameters

Return Values

The callable used to create the Fiber.

Source: reference/reflection/reflectionfiber/getcallable.xml · from the official PHP manual (php/doc-en)