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