send() public method

Send PDF to client, either inline or as download (triggers PDF creation)
public send ( string | null $filename = null, boolean $inline = false ) : boolean
$filename string | null the filename to send. If empty, the PDF is streamed inline.
$inline boolean whether to force inline display of the PDF, even if filename is present.
return boolean whether PDF was created successfully
示例#1
0
 /**
  * {@inheritdoc}
  */
 public function send($filename = NULL)
 {
     return $this->pdf->send($filename);
 }