コード例 #1
0
 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();
 }