Custom config in Symfony2 Custom config in Symfony2 symfony symfony

Custom config in Symfony2


Finally solved this by

  • keeping naming conventions in mind, especially the part, pointed out by Jakub Zalas
  • removing entry: $loader->load('config.yml'); from the extension file.

Obviously, the config file will be loaded automatically as soon, as the service has been loaded.