Example #1
0
 /**
  * Do call of a single callback, it is an internal functions
  * @access protected
  */
 public function call(Am_HookCallback $callback)
 {
     try {
         $ret = call_user_func($callback->getCallback(), $this);
     } catch (Exception $e) {
         $this->addRaisedException($callback->getSignature(), $e);
         $e = $this->onException($e);
         if ($e) {
             throw $e;
         }
         return;
     }
     return $ret;
 }