send() публичный Метод

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.
Результат boolean whether PDF was created successfully
Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function send($filename = NULL)
 {
     return $this->pdf->send($filename);
 }