interface ServicePdfInterface

Interface to be called for DI for ServicePdfInterface related services

Methods

array
getPdfFile(string $filename, string $url)

Returns an array($content, $filename, 'application/pdf') for a pdf file

array
getPdfFilePath(string $filename, string $url)

Returns an array($filepath, $filename, 'application/pdf') for a pdf file

array
html2Pdf(string $filename, string $html)

Converts html code to pdf and returns an array($content, $filename, 'application/pdf') of the converted pdf file

Details

at line 23
array getPdfFile(string $filename, string $url)

Returns an array($content, $filename, 'application/pdf') for a pdf file

Parameters

string $filename
string $url

Return Value

array

at line 29
array getPdfFilePath(string $filename, string $url)

Returns an array($filepath, $filename, 'application/pdf') for a pdf file

Parameters

string $filename
string $url

Return Value

array

at line 35
array html2Pdf(string $filename, string $html)

Converts html code to pdf and returns an array($content, $filename, 'application/pdf') of the converted pdf file

Parameters

string $filename
string $html

Return Value

array