array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'componere-definition.getclosure.php', 1 => 'Componere\\Definition::getClosure', ), 'up' => array ( 0 => 'class.componere-definition.php', 1 => 'Componere\\Definition', ), 'prev' => array ( 0 => 'componere-definition.isregistered.php', 1 => 'Componere\\Definition::isRegistered', ), 'next' => array ( 0 => 'componere-definition.getclosures.php', 1 => 'Componere\\Definition::getClosures', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/componere/componere/definition/getclosure.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(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