# Services für Billing-Modul services: _defaults: autowire: true autoconfigure: true # Plugin-Klasse (wird automatisch vom Core registriert) MyCRM\BillingModule\BillingModulePlugin: tags: ['app.module_plugin'] # Controller MyCRM\BillingModule\Controller\: resource: '../src/Controller/' tags: ['controller.service_arguments'] # Repositories MyCRM\BillingModule\Repository\: resource: '../src/Repository/' # Services MyCRM\BillingModule\Service\: resource: '../src/Service/' # Event Listeners MyCRM\BillingModule\EventListener\: resource: '../src/EventListener/' # Voters MyCRM\BillingModule\Security\Voter\: resource: '../src/Security/Voter/' tags: ['security.voter'] # PDF-Generator Service MyCRM\BillingModule\Service\PdfGenerator: arguments: $templatePath: '%kernel.project_dir%/vendor/mycrm/billing-module/templates/pdf' $pdfTemplate: '%billing.pdf_template%' # Invoice Service MyCRM\BillingModule\Service\InvoiceService: arguments: $invoicePrefix: '%billing.invoice_prefix%' # Payment Processor MyCRM\BillingModule\Service\PaymentProcessor: arguments: $gatewayConfig: '%billing.payment_gateway%'