예제 #1
0
파일: Service.php 프로젝트: nuxwin/drest
 /**
  * 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());
 }