X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/58242917a50ec39071529953e77343fd3eb6dda0..69c7d987b329fbc6c3df1b8a06f40f438ede4439:/DependencyInjection/Configuration.php?ds=sidebyside diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 13d24a7..9be5f15 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -15,7 +15,7 @@ class Configuration implements ConfigurationInterface { * {@inheritdoc} */ public function getConfigTreeBuilder() { - $treeBuilder = new TreeBuilder(); + $treeBuilder = new TreeBuilder('parameters'); // Here you should define the parameters that are allowed to // configure your bundle. See the documentation linked above for @@ -36,7 +36,7 @@ class Configuration implements ConfigurationInterface { //Here we define the parameters that are allowed to configure the bundle. $treeBuilder //Parameters - ->root('parameters') + ->getRootNode() ->addDefaultsIfNotSet() ->children() ->arrayNode('rapsys_air')