X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/efa6c60e1cbb85c6b36745e3570e71bb2f92b7ce..a15c67f3328e55845e53257618a4d5ad612e4e05:/DependencyInjection/Configuration.php diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 14066d1..5ef8718 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -16,7 +16,7 @@ class Configuration implements ConfigurationInterface { */ public function getConfigTreeBuilder() { //Set tree builder - $treeBuilder = new TreeBuilder(); + $treeBuilder = new TreeBuilder('parameters'); //The bundle default values $defaults = [ @@ -83,7 +83,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_user')