Set services to CMB #335

This commit is contained in:
Kendrick Chan 2020-02-11 20:34:43 +08:00
parent fb76cb0445
commit 3981dd9537

View file

@ -158,48 +158,48 @@ services:
- { name: kernel.event_listener, event: kernel.controller, method: onKernelController } - { name: kernel.event_listener, event: kernel.controller, method: onKernelController }
# CMB invoice generator # CMB invoice generator
#App\Service\InvoiceGenerator\CMBInvoiceGenerator: ~ App\Service\InvoiceGenerator\CMBInvoiceGenerator: ~
# Resq invoice generator # Resq invoice generator
App\Service\InvoiceGenerator\ResqInvoiceGenerator: ~ #App\Service\InvoiceGenerator\ResqInvoiceGenerator: ~
# invoice generator interface # invoice generator interface
#App\Service\InvoiceGeneratorInterface: "@App\\Service\\InvoiceGenerator\\CMBInvoiceGenerator" App\Service\InvoiceGeneratorInterface: "@App\\Service\\InvoiceGenerator\\CMBInvoiceGenerator"
App\Service\InvoiceGeneratorInterface: "@App\\Service\\InvoiceGenerator\\ResqInvoiceGenerator" #App\Service\InvoiceGeneratorInterface: "@App\\Service\\InvoiceGenerator\\ResqInvoiceGenerator"
# Resq job order generator # Resq job order generator
App\Service\JobOrderHandler\ResqJobOrderHandler: #App\Service\JobOrderHandler\ResqJobOrderHandler:
arguments: # arguments:
$country_code: "%env(COUNTRY_CODE)%" # $country_code: "%env(COUNTRY_CODE)%"
# CMB job order generator # CMB job order generator
#App\Service\JobOrderHandler\CMBJobOrderHandler: App\Service\JobOrderHandler\CMBJobOrderHandler:
# arguments:
# $country_code: "%env(COUNTRY_CODE)%"
#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: arguments:
$country_code: "%env(COUNTRY_CODE)%" $country_code: "%env(COUNTRY_CODE)%"
#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)%"
# customer generator interface # customer generator interface
#App\Service\CustomerHandlerInterface: "@App\\Service\\CustomerHandler\\CMBCustomerHandler" App\Service\CustomerHandlerInterface: "@App\\Service\\CustomerHandler\\CMBCustomerHandler"
App\Service\CustomerHandlerInterface: "@App\\Service\\CustomerHandler\\ResqCustomerHandler" #App\Service\CustomerHandlerInterface: "@App\\Service\\CustomerHandler\\ResqCustomerHandler"
# rider assignment # rider assignment
#App\Service\RiderAssignmentHandler\CMBRiderAssignmentHandler: ~ #App\Service\RiderAssignmentHandler\CMBRiderAssignmentHandler: ~
# rider assignment interface # rider assignment interface
#App\Service\RiderAssignmentHandlerInterface: "@App\\Service\\RiderAssignmentHandler\\CMBRiderAssignmentHandler" App\Service\RiderAssignmentHandlerInterface: "@App\\Service\\RiderAssignmentHandler\\CMBRiderAssignmentHandler"
# rider API service # rider API service
App\Service\RiderAPIHandler\CMBRiderAPIHandler: App\Service\RiderAPIHandler\CMBRiderAPIHandler: