From 295d5385a0f69c41b43cc6ce0146a0354daadc19 Mon Sep 17 00:00:00 2001 From: David Molineus Date: Fri, 5 Jan 2018 17:03:30 +0100 Subject: [PATCH] Make services public which has to be required in Symfony 3.4. --- src/Bundle/Resources/config/listeners.yml | 11 +++++++++++ src/Bundle/Resources/config/services.yml | 1 + 2 files changed, 12 insertions(+) diff --git a/src/Bundle/Resources/config/listeners.yml b/src/Bundle/Resources/config/listeners.yml index 4f4938d..16622f6 100644 --- a/src/Bundle/Resources/config/listeners.yml +++ b/src/Bundle/Resources/config/listeners.yml @@ -1,6 +1,7 @@ services: netzmacht.contao_leaflet.listeners.dca.leaflet: class: Netzmacht\Contao\Leaflet\Listener\Dca\LeafletDcaListener + public: true arguments: - '@netzmacht.contao_toolkit.repository_manager' - '@templating' @@ -10,18 +11,21 @@ services: netzmacht.contao_leaflet.listeners.dca.validator: class: Netzmacht\Contao\Leaflet\Listener\Dca\Validator + public: true arguments: - '@netzmacht.contao_toolkit.dca.manager' - '@translator' netzmacht.contao_leaflet.listeners.dca.frontend_integration: class: Netzmacht\Contao\Leaflet\Listener\Dca\FrontendIntegrationListener + public: true arguments: - '@netzmacht.contao_toolkit.repository_manager' - '@translator' netzmacht.contao_leaflet.listeners.dca.map: class: Netzmacht\Contao\Leaflet\Listener\Dca\MapDcaListener + public: true arguments: - '@netzmacht.contao_toolkit.dca.manager' - '@database_connection' @@ -29,6 +33,7 @@ services: netzmacht.contao_leaflet.listeners.dca.control: class: Netzmacht\Contao\Leaflet\Listener\Dca\ControlDcaListener + public: true arguments: - '@netzmacht.contao_toolkit.dca.manager' - '@database_connection' @@ -37,6 +42,7 @@ services: netzmacht.contao_leaflet.listeners.dca.layer: class: Netzmacht\Contao\Leaflet\Listener\Dca\LayerDcaListener + public: true arguments: - '@netzmacht.contao_toolkit.dca.manager' - '@database_connection' @@ -51,12 +57,14 @@ services: netzmacht.contao_leaflet.listeners.dca.marker: class: Netzmacht\Contao\Leaflet\Listener\Dca\MarkerDcaListener + public: true arguments: - '@database_connection' - '@netzmacht.contao_toolkit.repository_manager' netzmacht.contao_leaflet.listeners.dca.vector: class: Netzmacht\Contao\Leaflet\Listener\Dca\VectorDcaListener + public: true arguments: - '@netzmacht.contao_toolkit.dca.manager' - '@netzmacht.contao_toolkit.repository_manager' @@ -64,11 +72,13 @@ services: netzmacht.contao_leaflet.listeners.dca.icon: class: Netzmacht\Contao\Leaflet\Listener\Dca\IconDcaListener + public: true arguments: - '%netzmacht.contao_leaflet.icons%' netzmacht.contao_leaflet.listeners.dca.style: class: Netzmacht\Contao\Leaflet\Listener\Dca\StyleDcaListener + public: true arguments: - '%netzmacht.contao_leaflet.styles%' @@ -97,6 +107,7 @@ services: netzmacht.contao_leaflet.listeners.register_libraries: class: Netzmacht\Contao\Leaflet\Listener\RegisterLibrariesListener + public: true arguments: - '@netzmacht.contao_leaflet.libraries' - '@netzmacht.contao_leaflet.definition.builder' diff --git a/src/Bundle/Resources/config/services.yml b/src/Bundle/Resources/config/services.yml index 20060d1..c77c5b8 100644 --- a/src/Bundle/Resources/config/services.yml +++ b/src/Bundle/Resources/config/services.yml @@ -108,6 +108,7 @@ services: netzmacht.contao_leaflet.frontend.insert_tag: class: Netzmacht\Contao\Leaflet\Frontend\InsertTag\LeafletInsertTagParser + public: true arguments: - '@netzmacht.contao_leaflet.map.provider' - '%kernel.debug%'