diff --git a/src/Resources/config/services.yaml b/src/Resources/config/services.yaml index a73ab639642d816aa51e4cc4b2fe58f24ab796ae..9e9466bb024477680643d45dbc0535521a9742bb 100644 --- a/src/Resources/config/services.yaml +++ b/src/Resources/config/services.yaml @@ -5,7 +5,7 @@ services: Dbp\Relay\TemplateBundle\Controller\: resource: '../../Controller' - tags: ['controller.service_arguments'] + autoconfigure: true autowire: true Dbp\Relay\TemplateBundle\DataPersister\: @@ -13,13 +13,10 @@ services: autowire: true autoconfigure: true - Dbp\Relay\TemplateBundle\DataProvider\PlaceCollectionDataProvider: - tags: [{ name: 'api_platform.collection_data_provider'}] - autowire: true - - Dbp\Relay\TemplateBundle\DataProvider\PlaceItemDataProvider: - tags: ['api_platform.item_data_provider'] + Dbp\Relay\TemplateBundle\DataProvider\: + resource: '../../DataProvider' autowire: true + autoconfigure: true Dbp\Relay\TemplateBundle\Service\ExternalApi: autowire: true