1
votes

Please note: I know how to read parameters from parameters.yml.

I have been here and here and none answer my question.

I need to read configuration values from config.yml which are not parameters.

What I want to do exactly is to read some configurations from another vendor bundle.

Any help would be much appreciated!

1
Your best bet is to look the dependency injection extension for your vendor. The code will show how the config files are processed. In most cases you will then be able to access the data you need via services. Or, do as @devict suggests, and just read the config files directly.Cerad

1 Answers

0
votes

Maybe there is a prettier way to do it, but you should try using the YAML component : http://symfony.com/doc/current/components/yaml/introduction.html