-
-
Notifications
You must be signed in to change notification settings - Fork 0
CallbackDescriber
github-actions edited this page Mar 26, 2026
·
1 revision
This utility class MUST be used to generate human-readable descriptions for any PHP callable.
It SHALL support closures, array callables, invokable objects, and string callables. All methods MUST be static and MUST NOT throw exceptions.
- Full name:
\FastForward\Defer\Support\CallbackDescriber - This class is marked as final and can't be subclassed
- This class is a Final class
Returns a human-readable description for a callable.
public static describe(callable $callback): stringThis method MUST support closures, array callables, invokable objects, and string callables.
- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$callback |
callable | the callable to describe |
Return Value:
the description of the callable