fix sf4 deprecated: exclude entities from autowired services

This commit is contained in:
2020-07-22 10:45:22 +02:00
parent 88fc2deb68
commit da682c22bc
2 changed files with 16 additions and 10 deletions

View File

@@ -24,16 +24,8 @@ class ChillEventExtension extends Extension implements PrependExtensionInterface
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
$loader = new Loader\YamlFileLoader($container,
new FileLocator(__DIR__.'/../Resources/config/services'));
$loader->load('repositories.yml');
$loader->load('search.yml');
$loader->load('authorization.yml');
$loader->load('forms.yml');
$loader->load('fixtures.yml');
$loader->load('menu.yml');
$loader->load('controller.yml');
$loader->load('timeline.yml');
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services.yml');
}
/* (non-PHPdoc)