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