/**
  * Get files representation
  *
  * For now, only temporary files created by the user can be retrieved
  *
  * @url GET
  *
  * @return Array {@type \Tuleap\Tracker\REST\Artifact\FileInfoRepresentation}
  *
  * @throws 400
  */
 protected function get()
 {
     $files = $this->file_manager->getUserTemporaryFiles();
     $files_representations = array();
     foreach ($files as $file) {
         $files_representations[] = $this->buildFileRepresentation($file);
     }
     return $files_representations;
 }
 /**
  * Get files representation
  *
  * For now, only temporary files created by the user can be retrieved
  *
  * @url GET
  *
  * @return Array {@type \Tuleap\Tracker\REST\Artifact\FileInfoRepresentation}
  *
  * @throws 400
  */
 protected function get()
 {
     $files = $this->file_manager->getUserTemporaryFiles();
     $files_representations = array();
     foreach ($files as $file) {
         $files_representations[] = $this->buildFileRepresentation($file);
     }
     $this->sendAllowHeadersForArtifactFiles();
     return $files_representations;
 }