PdfService
in package
Class PdfService
Table of Contents
Properties
- $pdf : Mpdf
Methods
- __construct() : mixed
- PdfService constructor.
- addContent() : mixed
- Adding content to pdf
- getPdf() : mixed
- Returning the instance of pdf
- Output() : mixed
Properties
protected
Mpdf
$pdf
Methods
__construct()
PdfService constructor.
public
__construct(KernelInterface $kernel) : mixed
Parameters
- $kernel : KernelInterface
Tags
addContent()
Adding content to pdf
public
addContent(mixed $content) : mixed
Parameters
- $content : mixed
Tags
getPdf()
Returning the instance of pdf
public
getPdf() : mixed
Output()
public
Output(mixed $fileName[, mixed $destination = 'D' ]) : mixed
Parameters
- $fileName : mixed
- $destination : mixed = 'D'