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; }
/** * Returns the callback response. * @return TCallbackResponse */ public function getCallbackResponse() { return $this->service->server()->getResponse(); }