PHP - Manual: Componere\Definition::getClosure
2024-11-14
(Componere 2 >= 2.1.0)
Componere\Definition::getClosure — Get Closure
Shall return a Closure for the method specified by name
name
The case insensitive name of the method
A Closure bound to the correct scope
Shall throw RuntimeException if Definition was registered
Shall throw RuntimeException if name
could not be found
官方地址:https://www.php.net/manual/en/componere-definition.getclosure.php