From 01e9e07e28f3d454203fee79fd070bfb7558938c Mon Sep 17 00:00:00 2001 From: Kamil Karkus Date: Sun, 18 Aug 2019 16:33:45 +0200 Subject: [PATCH] Fixed services.yml --- .../Resources/config/services.yml | 37 ++++++++++++++----- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/src/CoreShop2VueStorefrontBundle/Resources/config/services.yml b/src/CoreShop2VueStorefrontBundle/Resources/config/services.yml index fbc99fb..703efe8 100644 --- a/src/CoreShop2VueStorefrontBundle/Resources/config/services.yml +++ b/src/CoreShop2VueStorefrontBundle/Resources/config/services.yml @@ -12,7 +12,9 @@ services: public: true tags: ['controller.service_arguments'] - CoreShop2VueStorefrontBundle\Bridge\EnginePersister: ~ + CoreShop2VueStorefrontBundle\Bridge\EnginePersister: + arguments: + - '@es.manager.default' CoreShop2VueStorefrontBundle\Bridge\DocumentMapper\DocumentProductMapper: ~ @@ -20,6 +22,8 @@ services: CoreShop2VueStorefrontBundle\Bridge\DocumentMapper\DocumentAttributeMapper: ~ + CoreShop2VueStorefrontBundle\Bridge\DocumentMapper\DocumentConfigurableProductMapper: ~ + CoreShop2VueStorefrontBundle\Bridge\Attribute\AttributeIdGenerator: ~ CoreShop2VueStorefrontBundle\Bridge\Attribute\AttributeResolver: ~ @@ -42,18 +46,24 @@ services: arguments: - '@coreshop.repository.index' - CoreShop2VueStorefrontBundle\Security\User\UserProvider: ~ + CoreShop2VueStorefrontBundle\Security\User\UserProvider: + arguments: + - "@coreshop.repository.customer" CoreShop2VueStorefrontBundle\Bridge\Customer\CustomerManager: arguments: - "@coreshop.factory.customer" - "@coreshop.factory.address" + - "@coreshop.customer.registration_service" + - "@coreshop.repository.country" + - "@coreshop.repository.customer" CoreShop2VueStorefrontBundle\Bridge\Order\AddressDataToAddressItemTransformer: arguments: - "@coreshop.factory.address" - "@coreshop.object_service" - "%coreshop.folder.address%" + - "@coreshop.repository.country" CoreShop2VueStorefrontBundle\Bridge\Order\OrderManager: arguments: @@ -67,17 +77,26 @@ services: CoreShop2VueStorefrontBundle\Command\IndexCommand: tags: ['console.command'] + arguments: + $repository: '@coreshop.repository.product' + + CoreShop2VueStorefrontBundle\Document\DocumentFactory: + arguments: + - '@es.manager.default' - CoreShop2VueStorefrontBundle\Document\DocumentFactory: ~ + CoreShop2VueStorefrontBundle\Repository\AttributeRepository: + arguments: + - '@es.manager.default' CoreShop2VueStorefrontBundle\Worker\ElasticSearchWorker: arguments: - - '@coreshop.registry.index.extensions' - - '@coreshop.registry.index.getter' - - '@coreshop.registry.index.interpreter' - - '@coreshop.index.filter_group_helper' - - '@coreshop.index.condition.renderer' - - '@coreshop.index.order.renderer' + $extensionsRegistry: '@coreshop.registry.index.extensions' + $getterServiceRegistry: '@coreshop.registry.index.getter' + $interpreterServiceRegistry: '@coreshop.registry.index.interpreter' + $filterGroupHelper: '@coreshop.index.filter_group_helper' + $conditionRenderer: '@coreshop.index.condition.renderer' + $orderRenderer: '@coreshop.index.order.renderer' + $manager: '@es.manager.default' shared: false calls: - { method: setLogger, arguments: ['@logger'] }