public function registerCallbackHandler($object, $description = null)
 {
     if (is_null($this->service)) {
         throw new Exception(get_class($this) . '::onInit($param) must call parent::onInit($param)');
     }
     $this->service->addHandler($object, $description);
     return $object;
 }
예제 #2
0
 /**
  * Returns the callback response.
  * @return TCallbackResponse
  */
 public function getCallbackResponse()
 {
     return $this->service->server()->getResponse();
 }