From eceb20f2b6ba10ac889c579b1bd21959c9eb67b6 Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Thu, 6 Feb 2020 07:33:08 +0000 Subject: [PATCH] Add resq counterparts in services.yaml. #329 --- config/services.yaml | 55 ++++++++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 25 deletions(-) diff --git a/config/services.yaml b/config/services.yaml index 5364d19a..dbe9698e 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -157,44 +157,49 @@ services: tags: - { name: kernel.event_listener, event: kernel.controller, method: onKernelController } - # invoice generator - App\Service\InvoiceGenerator\CMBInvoiceGenerator: ~ + # CMB invoice generator + #App\Service\InvoiceGenerator\CMBInvoiceGenerator: ~ + + # Resq invoice generator + App\Service\InvoiceGenerator\ResqInvoiceGenerator: ~ # invoice generator interface - App\Service\InvoiceGeneratorInterface: "@App\\Service\\InvoiceGenerator\\CMBInvoiceGenerator" - #App\Service\InvoiceGeneratorInterface: "@App\\Service\\InvoiceGenerator\\ResqInvoiceGenerator" + #App\Service\InvoiceGeneratorInterface: "@App\\Service\\InvoiceGenerator\\CMBInvoiceGenerator" + App\Service\InvoiceGeneratorInterface: "@App\\Service\\InvoiceGenerator\\ResqInvoiceGenerator" - # job order generator - #App\Service\JobOrderHandler\ResqJobOrderHandler: + # Resq job order generator + App\Service\JobOrderHandler\ResqJobOrderHandler: + arguments: + $country_code: "%env(COUNTRY_CODE)%" + + # CMB job order generator + #App\Service\JobOrderHandler\CMBJobOrderHandler: # arguments: - # $country_code: "%env(COUNTRY_CODE)%" + # $country_code: "%env(COUNTRY_CODE)%" - App\Service\JobOrderHandler\CMBJobOrderHandler: + #job order generator interface + #App\Service\JobOrderHandlerInterface: "@App\\Service\\JobOrderHandler\\CMBJobOrderHandler" + App\Service\JobOrderHandlerInterface: "@App\\Service\\JobOrderHandler\\ResqJobOrderHandler" + + # CMB customer generator + #App\Service\CustomerHandler\CMBCustomerHandler: + # arguments: + # $country_code: "%env(COUNTRY_CODE)%" + + # Resq customer generator + App\Service\CustomerHandler\ResqCustomerHandler: arguments: $country_code: "%env(COUNTRY_CODE)%" - #job order generator interface - App\Service\JobOrderHandlerInterface: "@App\\Service\\JobOrderHandler\\CMBJobOrderHandler" - #App\Service\JobOrderHandlerInterface: "@App\\Service\\JobOrderHandler\\ResqJobOrderHandler" - - # customer generator - App\Service\CustomerHandler\CMBCustomerHandler: - arguments: - $country_code: "%env(COUNTRY_CODE)%" - - #App\Service\CustomerHandler\ResqCustomerHandler: - # arguments: - # $country_code: "%env(COUNTRY_CODE)%" - # customer generator interface - App\Service\CustomerHandlerInterface: "@App\\Service\\CustomerHandler\\CMBCustomerHandler" - #App\Service\CustomerHandlerInterface: "@App\\Service\\CustomerHandler\\ResqCustomerHandler" + #App\Service\CustomerHandlerInterface: "@App\\Service\\CustomerHandler\\CMBCustomerHandler" + App\Service\CustomerHandlerInterface: "@App\\Service\\CustomerHandler\\ResqCustomerHandler" # rider assignment - App\Service\RiderAssignmentHandler\CMBRiderAssignmentHandler: ~ + #App\Service\RiderAssignmentHandler\CMBRiderAssignmentHandler: ~ # rider assignment interface - App\Service\RiderAssignmentHandlerInterface: "@App\\Service\\RiderAssignmentHandler\\CMBRiderAssignmentHandler" + #App\Service\RiderAssignmentHandlerInterface: "@App\\Service\\RiderAssignmentHandler\\CMBRiderAssignmentHandler" # map manager #App\Service\GISManager\Bing: ~