diff --git a/src/DependencyInjection/KeenIOExtension.php b/src/DependencyInjection/KeenIOExtension.php index 8daf288..d1021dc 100755 --- a/src/DependencyInjection/KeenIOExtension.php +++ b/src/DependencyInjection/KeenIOExtension.php @@ -25,6 +25,7 @@ public function load(array $configs, ContainerBuilder $container) $container->setParameter('keen_io_factory.class', 'KeenIO\\Client\\KeenIOClient'); $definition = new Definition('%keen_io.class%', array($arguments)); + $definition->setPublic(true); if (method_exists($definition, 'setFactory')) { $definition->setFactory(array('%keen_io_factory.class%', 'factory'));