private function setHeaders($type = self::CONTENT_APP_STREAM, $suggestedFileName = '', $disposition = 'attachment', $ignore_user_abort = false)
    {
        // Set Response Headers
        $this->headers->set('Content-Type', $type);
        $this->headers->set('Content-Disposition', ($disposition ?: 'attachment') . '; filename=' . $suggestedFileName);

        // Set buffer settings
        ignore_user_abort($ignore_user_abort);

        return $this;
    }