-
Notifications
You must be signed in to change notification settings - Fork 1
DownloadService
github-actions[bot] edited this page Jun 27, 2023
·
11 revisions
Handles incoming notification api-calls by finding or creating a synchronization and synchronizing an object.
Name | Description |
---|---|
__construct | The constructor sets al needed variables. |
downloadPdf | Downloads a pdf. |
render | Renders a pdf. |
Description
public __construct (\EntityManagerInterface $entityManager, \LoggerInterface $requestLogger, \Environment $twig)
The constructor sets al needed variables.
Parameters
-
(\EntityManagerInterface) $entityManager
: The EntityManager -
(\LoggerInterface) $requestLogger
: The Logger -
(\Environment) $twig
: Twig
Return Values
void
Description
public downloadPdf (array $data)
Downloads a pdf.
Parameters
-
(array) $data
: The data to render for this pdf.
Return Values
string
The pdf as string output.
Description
public render (array $data)
Renders a pdf.
Parameters
-
(array) $data
: The data to render.
Return Values
string
The content rendered.