Example #1
0
 /**
  * 注册一个helper
  * 
  * @param string $name
  * @param HelperInterface $helper
  */
 function registerHelper($name, HelperInterface $helper)
 {
     $this->console->getHelperRegistry()->register($name, $helper);
 }