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: calls:
- [ setGenerator, [ "@noccylabs.pdf.generator" ]] - [ setGenerator, [ "@noccylabs.pdf.generator" ]]
noccylabs.pdf.generator: NoccyLabs\Bundle\PdfBundle\Pdf\PdfGenerator:
class: NoccyLabs\Bundle\PdfBundle\Pdf\PdfGenerator
arguments: [ "%kernel.cache_dir%" ] arguments: [ "%kernel.cache_dir%" ]
public: true public: true
noccylabs.pdf.generator:
alias: NoccyLabs\Bundle\PdfBundle\Pdf\PdfGenerator