示例#1
0
 /**
  * Get the response instance
  *
  * @return mr_server_response_abstract
  */
 protected function get_response()
 {
     if (!$this->response instanceof mr_server_response_abstract) {
         $reflection = new reflectionClass($this->responseclass);
         $this->response = $reflection->newInstance($this, $this->serviceclass);
     }
     return $this->response;
 }