/** * @inheritdoc */ public function getConfigTreeBuilder() { $treeBuilder = new TreeBuilder(); $rootNode = $treeBuilder->root($this->bundle->getAlias()); $bundleNode = $this->bundle->addConfiguration($rootNode); foreach ($this->bundle->getPlugins() as $plugin) { $pluginNode = $rootNode->children()->arrayNode($plugin->name()); $plugin->addConfiguration($pluginNode); } return $treeBuilder; }
/** * @inheritdoc */ public function getAlias() { return $this->bundle->getAlias(); }