Closure::fromCallableConverts a callable into a closure. Description
public static Closure Closure::fromCallable
( callable
$callable
)
Create and return a new anonymous
function from given Parameters
Return Values
Returns the newly created Closure or throws a
TypeError if the |