]> Raphaƫl G. Git Repositories - airbundle/blobdiff - DependencyInjection/Configuration.php
Revert for now
[airbundle] / DependencyInjection / Configuration.php
index 13d24a7afe297048de5ecc4efc53840d280c0532..9be5f157c174345a808d28771bc49ab7e175a15d 100644 (file)
@@ -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')