update
This commit is contained in:
32
projects/priceservice/config/services.yaml
Normal file
32
projects/priceservice/config/services.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
# This file is the entry point to configure your own services.
|
||||
# Files in the packages/ subdirectory configure your dependencies.
|
||||
|
||||
# Put parameters here that don't need to change on each machine where the app is deployed
|
||||
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
|
||||
parameters:
|
||||
|
||||
services:
|
||||
# default configuration for services in *this* file
|
||||
_defaults:
|
||||
autowire: true # Automatically injects dependencies in your services.
|
||||
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
|
||||
|
||||
App\:
|
||||
resource: '../src/'
|
||||
exclude:
|
||||
- '../src/DependencyInjection/'
|
||||
- '../src/Entity/'
|
||||
- '../src/Kernel.php'
|
||||
|
||||
App\Service\Prices\RedisImportService:
|
||||
arguments:
|
||||
$calledShopIds: '%mitho.import.orm.shopIds%'
|
||||
$cashPriceStep: '%mitho.import.orm.cashPriceStep%'
|
||||
|
||||
App\MessageHandler\TriggerPriceImportHandler:
|
||||
public: true
|
||||
arguments:
|
||||
$importService: '@App\Service\Prices\RedisImportService'
|
||||
tags:
|
||||
- name: 'messenger.message_handler'
|
||||
handles: 'App\Message\TriggerPriceImport'
|
||||
Reference in New Issue
Block a user