Fix bits
This commit is contained in:
4
config/services.yml
Normal file
4
config/services.yml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
services:
|
||||||
|
Pcm\GeocodeBundle\Service\Geocoder:
|
||||||
|
autowire: true
|
||||||
|
public: true
|
||||||
@@ -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]);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user