Logidav Docs

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

Methods

__construct()

PdfService constructor.

public __construct(KernelInterface $kernel) : mixed
Parameters
$kernel : KernelInterface
Tags
throws
MpdfException

addContent()

Adding content to pdf

public addContent(mixed $content) : mixed
Parameters
$content : mixed
Tags
throws
MpdfException

getPdf()

Returning the instance of pdf

public getPdf() : mixed

Output()

public Output(mixed $fileName[, mixed $destination = 'D' ]) : mixed
Parameters
$fileName : mixed
$destination : mixed = 'D'

        
On this page

Search results