Skip to content
Snippets Groups Projects
Commit ca651d0f authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Use autoconfigure for all services

Since we inherit from all the required interfaces anyway, autoconfigure should
just work. No need to confuse users with all the special service tags.
parent 53510016
No related branches found
No related tags found
No related merge requests found
Pipeline #105779 passed
...@@ -5,7 +5,7 @@ services: ...@@ -5,7 +5,7 @@ services:
Dbp\Relay\TemplateBundle\Controller\: Dbp\Relay\TemplateBundle\Controller\:
resource: '../../Controller' resource: '../../Controller'
tags: ['controller.service_arguments'] autoconfigure: true
autowire: true autowire: true
Dbp\Relay\TemplateBundle\DataPersister\: Dbp\Relay\TemplateBundle\DataPersister\:
...@@ -13,13 +13,10 @@ services: ...@@ -13,13 +13,10 @@ services:
autowire: true autowire: true
autoconfigure: true autoconfigure: true
Dbp\Relay\TemplateBundle\DataProvider\PlaceCollectionDataProvider: Dbp\Relay\TemplateBundle\DataProvider\:
tags: [{ name: 'api_platform.collection_data_provider'}] resource: '../../DataProvider'
autowire: true
Dbp\Relay\TemplateBundle\DataProvider\PlaceItemDataProvider:
tags: ['api_platform.item_data_provider']
autowire: true autowire: true
autoconfigure: true
Dbp\Relay\TemplateBundle\Service\ExternalApi: Dbp\Relay\TemplateBundle\Service\ExternalApi:
autowire: true autowire: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment