TIC\DpdfBundle\Traits\DompdfWrapper::stream

Streams the PDF to the client.

The file will open a download dialog by default. The options parameter controls the output. Accepted options (array keys) are: 'compress' = > 1 (=default) or 0: Apply content stream compression 'Attachment' => 1 (=default) or 0: Set the 'Content-Disposition:' HTTP header to 'attachment' (thereby causing the browser to open a download dialog)