ReflectionFunction::getClosure
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.4.0, PHP 7, PHP 8)
Returns a dynamically created closure for the function
Description
ReflectionFunction::getClosure(): Closure
Get a dynamically created closure for the function.
Parameters Parameters
Return Values
Returns the newly created Closure.