* {@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
//Here we define the parameters that are allowed to configure the bundle.
$treeBuilder
//Parameters
- ->root('parameters')
+ ->getRootNode()
->addDefaultsIfNotSet()
->children()
->arrayNode('rapsys_air')