Daniel@0: <?php Daniel@0: Daniel@0: namespace DML\MainVisBundle\DependencyInjection; Daniel@0: Daniel@0: use Symfony\Component\Config\Definition\Builder\TreeBuilder; Daniel@0: use Symfony\Component\Config\Definition\ConfigurationInterface; Daniel@0: Daniel@0: /** Daniel@0: * This is the class that validates and merges configuration from your app/config files Daniel@0: * Daniel@0: * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class} Daniel@0: */ Daniel@0: class Configuration implements ConfigurationInterface Daniel@0: { Daniel@0: /** Daniel@0: * {@inheritdoc} Daniel@0: */ Daniel@0: public function getConfigTreeBuilder() Daniel@0: { Daniel@0: $treeBuilder = new TreeBuilder(); Daniel@0: $rootNode = $treeBuilder->root('dml_main_vis'); Daniel@0: Daniel@0: // Here you should define the parameters that are allowed to Daniel@0: // configure your bundle. See the documentation linked above for Daniel@0: // more information on that topic. Daniel@0: Daniel@0: return $treeBuilder; Daniel@0: } Daniel@0: }