diff --git a/src/Bundle/ChillWopiBundle/src/Resources/config/services.php b/src/Bundle/ChillWopiBundle/src/Resources/config/services.php index 2462f0990..e84a76f2a 100644 --- a/src/Bundle/ChillWopiBundle/src/Resources/config/services.php +++ b/src/Bundle/ChillWopiBundle/src/Resources/config/services.php @@ -21,8 +21,7 @@ return static function (ContainerConfigurator $container) { ->autoconfigure(); $services - ->load('Chill\\WopiBundle\\', '../*') - ->exclude('../src/{DependencyInjection,Entity,Resources,Tests,Kernel.php}'); + ->load('Chill\\WopiBundle\\Service\\', __DIR__ . '/../../Service'); $services ->load('Chill\\WopiBundle\\Controller\\', __DIR__ . '/../../Controller')