public function setServerResponseTo($nativeVars) { $response = $this->getServerResponseFor($nativeVars); $this->httpAdapter->setResponse($response); }
protected function _setHttpResponse($data, $contentType) { $response = self::_createHttpResponseFrom($data, $contentType); $this->_httpAdapter->setResponse($response); }