Method
Closure::fromCallable
Synopsis
public static Closure::fromCallable(mixed): mixed
- Area
Runtime\PS\Core\Closure\fromCallableareas
Description
Closure::fromCallable returns the closure for $callback; a value that is not callable is an error.
Usage
$value = Closure::fromCallable($arguments);
$fn = Closure::fromCallable(...);