Improved service definitions for symfony

This commit is contained in:
Chris 2019-08-28 15:09:05 +02:00
parent 3937e57344
commit ef16fbf478

View File

@ -8,7 +8,9 @@ services:
calls:
- [ setGenerator, [ "@noccylabs.pdf.generator" ]]
noccylabs.pdf.generator:
class: NoccyLabs\Bundle\PdfBundle\Pdf\PdfGenerator
NoccyLabs\Bundle\PdfBundle\Pdf\PdfGenerator:
arguments: [ "%kernel.cache_dir%" ]
public: true
noccylabs.pdf.generator:
alias: NoccyLabs\Bundle\PdfBundle\Pdf\PdfGenerator