Exemple #1
0
 /**
  * Write out as result set on the representation object that was determined - if no representation has been determined - defaults to text
  * @param ResultSet $resultSet
  */
 public function renderDeterminedRepresentation(ResultSet $resultSet)
 {
     $this->getResponse()->setBody($this->representation->output($resultSet));
     $this->getResponse()->setHttpHeader('Content-Type', $this->representation->getContentType());
 }