diff --git a/src/BeSimple/SoapBundle/DependencyInjection/BeSimpleSoapExtension.php b/src/BeSimple/SoapBundle/DependencyInjection/BeSimpleSoapExtension.php index 55cd08d..cf09d71 100644 --- a/src/BeSimple/SoapBundle/DependencyInjection/BeSimpleSoapExtension.php +++ b/src/BeSimple/SoapBundle/DependencyInjection/BeSimpleSoapExtension.php @@ -157,6 +157,7 @@ class BeSimpleSoapExtension extends Extension new Reference(sprintf('besimple.soap.client.builder.%s', $client)), 'build' )); + $definition->setPublic(true); } else { $definition->setFactoryService(sprintf('besimple.soap.client.builder.%s', $client)); }