Example #1
0
 /**
  * addHooks method
  *
  * @return void
  * @access public
  */
 function addHooks()
 {
     AutopilotShell::addHook(Hooks::green, array('Notify', 'green'));
     AutopilotShell::addHook(Hooks::red, array('Notify', 'red'));
     AutopilotShell::addHook(Hooks::all_good, array('Notify', 'allGood'));
 }