This topic contains 1 reply, has 1 voice, and was last updated by cardiac 8 years, 11 months ago.
- Topic
Hi,
I’m currently working on a new bundle. This bundle has a dependency injection and I want to split my yaml files by using “resource:”
But it’s not loading the resource files
My DependencyInjection/AppExtension.php
123456789public function load(array $configs, ContainerBuilder $container){$configuration = new Configuration();$this->processConfiguration($configuration, $configs);$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));$loader->load('services.yml');$loader->load('form.yml');}Resource/config/service.yml
123imports:- { resource: 'EntityX/services.yml' }REsource/config/EntityX/services.yml
12parameters:param1: ABCIf I break base services.yml it throws an exception. If I break EntityX/services.yml nothing happens.
YamlFileLoader do not resolve the resource statements I think.You know whats happening here?
Thank you for your time.
The forum ‘OroPlatform – Installation/Technical Issues or Problems’ is closed to new topics and replies.