This commit is contained in:
Brabli
2022-07-20 22:55:32 +01:00
parent 95ca4c4116
commit 63920fa25b
2 changed files with 5 additions and 3 deletions

4
config/services.yml Normal file
View File

@@ -0,0 +1,4 @@
services:
Pcm\GeocodeBundle\Service\Geocoder:
autowire: true
public: true

View File

@@ -28,8 +28,6 @@ class AppKernel extends Kernel
*/ */
public function registerContainerConfiguration(LoaderInterface $loader): void public function registerContainerConfiguration(LoaderInterface $loader): void
{ {
$loader->load(function (ContainerBuilder $container) { $loader->load(__DIR__.'/config_'.$this->getEnvironment().'.yml');
$container->prependExtensionConfig('framework', ['test' => true]);
});
} }
} }