From 669921bbc64ffe396af382830af2a4aef08a057b Mon Sep 17 00:00:00 2001 From: Nicholas Masters Date: Sat, 1 Dec 2018 06:56:25 +0000 Subject: [PATCH] Change chain_driver service to public This bundle currently doesn't work with Symfony 3.4 and 4.x as it throws the following error: `The "trappar_alice_generator.metadata.chain_driver" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead.` Fixes https://github.com/trappar/AliceGeneratorBundle/issues/7 --- src/Trappar/AliceGeneratorBundle/Resources/config/services.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Trappar/AliceGeneratorBundle/Resources/config/services.yml b/src/Trappar/AliceGeneratorBundle/Resources/config/services.yml index 52a1f0a..e02f8ce 100644 --- a/src/Trappar/AliceGeneratorBundle/Resources/config/services.yml +++ b/src/Trappar/AliceGeneratorBundle/Resources/config/services.yml @@ -13,7 +13,7 @@ services: arguments: ['@annotation_reader'] trappar_alice_generator.metadata.chain_driver: - public: false + public: public class: Metadata\Driver\DriverChain arguments: - ['@Trappar\AliceGenerator\Metadata\Driver\YamlDriver', '@Trappar\AliceGenerator\Metadata\Driver\AnnotationDriver']