annotate src/DML/MainVisBundle/DependencyInjection/Configuration.php @ 1:f38015048f48 tip

Added GPL
author Daniel Wolff
date Sat, 13 Feb 2016 20:43:38 +0100
parents 493bcb69166c
children
rev   line source
Daniel@0 1 <?php
Daniel@0 2
Daniel@0 3 namespace DML\MainVisBundle\DependencyInjection;
Daniel@0 4
Daniel@0 5 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
Daniel@0 6 use Symfony\Component\Config\Definition\ConfigurationInterface;
Daniel@0 7
Daniel@0 8 /**
Daniel@0 9 * This is the class that validates and merges configuration from your app/config files
Daniel@0 10 *
Daniel@0 11 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
Daniel@0 12 */
Daniel@0 13 class Configuration implements ConfigurationInterface
Daniel@0 14 {
Daniel@0 15 /**
Daniel@0 16 * {@inheritdoc}
Daniel@0 17 */
Daniel@0 18 public function getConfigTreeBuilder()
Daniel@0 19 {
Daniel@0 20 $treeBuilder = new TreeBuilder();
Daniel@0 21 $rootNode = $treeBuilder->root('dml_main_vis');
Daniel@0 22
Daniel@0 23 // Here you should define the parameters that are allowed to
Daniel@0 24 // configure your bundle. See the documentation linked above for
Daniel@0 25 // more information on that topic.
Daniel@0 26
Daniel@0 27 return $treeBuilder;
Daniel@0 28 }
Daniel@0 29 }