src/Pdf.php
public function send($filename = null,$inline = false)
    {
        if (!$this->_isCreated && !$this->createPdf()) {
            return false;
        }
        $this->_tmpPdfFile->send($filename, 'application/pdf', $inline);
        return true;
    }
public function send($filename = null,$inline = false)
    {
        if (!$this->_isCreated && !$this->createPdf()) {
            return false;
        }
        $this->_tmpPdfFile->send($filename, 'application/pdf', $inline);
        return true;
    }
Send PDF to client, either inline or as download (triggers PDF creation)

@param string|null $filename the filename to send. If empty, the PDF is
streamed inline.
@param bool $inline whether to force inline display of the PDF, even if
filename is present.
@return bool whether PDF was created successfully