public function doRequest($request, $response) { Protocol\Request::setRequest($request); Protocol\Response::setResponse($response); $this->onRequest($request, $response); }