Skip to content

Commit e20e244

Browse files
committed
Mark service as public explicitly
Symfony 4.0 will make services private by default, so this needs to be configured explicitly.
1 parent a456b0e commit e20e244

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/DependencyInjection/KeenIOExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function load(array $configs, ContainerBuilder $container)
2424
$container->setParameter('keen_io_factory.class', 'KeenIO\\Client\\KeenIOClient');
2525

2626
$definition = new Definition('%keen_io.class%', array($arguments));
27+
$definition->setPublic(true);
2728

2829
if (method_exists($definition, 'setFactory')) {
2930
$definition->setFactory(array('%keen_io_factory.class%', 'factory'));

0 commit comments

Comments
 (0)