Skip to content

Commit

Permalink
Merge pull request #17 from stof/public_service
Browse files Browse the repository at this point in the history
Mark service as public explicitly
  • Loading branch information
tbarn authored Oct 19, 2017
2 parents 3ac118a + e20e244 commit d3416cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DependencyInjection/KeenIOExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down

0 comments on commit d3416cd

Please sign in to comment.