/**
  * Send the content for this response
  *
  * @author     David Zülke <*****@*****.**>
  * @since      0.11.0
  */
 public function sendContent()
 {
     if (is_resource($this->content) && $this->getParameter('use_sendfile_header', false)) {
         $info = stream_get_meta_data($this->content);
         if ($info['wrapper_type'] == 'plainfile') {
             header($this->getParameter('sendfile_header_name', 'X-Sendfile') . ': ' . $info['uri']);
             return;
         }
     }
     return parent::sendContent();
 }
 /**
  * Send the content for this response
  *
  * @author     David Zülke <*****@*****.**>
  * @since      1.0.0
  */
 protected function sendContent()
 {
     $isContentMutable = $this->isContentMutable();
     parent::sendContent();
     if ($isContentMutable && $this->getParameter('append_eol', true)) {
         echo PHP_EOL;
     }
 }