diff --git a/src/Bridge/Symfony/DependencyInjection/FidryAliceDataFixturesExtension.php b/src/Bridge/Symfony/DependencyInjection/FidryAliceDataFixturesExtension.php index 6836bb56..1fe2d1ad 100644 --- a/src/Bridge/Symfony/DependencyInjection/FidryAliceDataFixturesExtension.php +++ b/src/Bridge/Symfony/DependencyInjection/FidryAliceDataFixturesExtension.php @@ -232,6 +232,7 @@ private function registerPurgerLoader( new Reference('logger', ContainerInterface::IGNORE_ON_INVALID_REFERENCE) ] ); + $definition->setPublic(false); $definition->setLazy(true); $serviceId = sprintf(