Gina Next Generation
 All Classes Namespaces Files Functions Variables
Configuration.php
Go to the documentation of this file.
00001 <?php
00002 
00003 namespace Etrali\GinangBundle\DependencyInjection;
00004 
00005 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
00006 use Symfony\Component\Config\Definition\ConfigurationInterface;
00007 
00008 /**
00009  * This is the class that validates and merges configuration from your app/config files
00010  *
00011  * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
00012  */
00013 class Configuration implements ConfigurationInterface
00014 {
00015     /**
00016      * {@inheritDoc}
00017      */
00018     public function getConfigTreeBuilder()
00019     {
00020         $treeBuilder = new TreeBuilder();
00021         $rootNode = $treeBuilder->root('etrali_ginang');
00022 
00023         // Here you should define the parameters that are allowed to
00024         // configure your bundle. See the documentation linked above for
00025         // more information on that topic.
00026 
00027         return $treeBuilder;
00028     }
00029 }
 All Classes Namespaces Files Functions Variables