public function renderDeterminedRepresentation(ResultSet $resultSet) { $this->getResponse()->setBody($this->representation->output($resultSet)); $this->getResponse()->setHttpHeader('Content-Type', $this->representation->getContentType()); }