vendor/globunet/dinamic-database-bundle/DependencyInjection/Configuration.php line 29

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Globunet Project package.
  4.  *
  5.  * Created by Globunet on 23/11/16. <info@globunet.com>
  6.  * Copyright (c) 2015 Globunet Soluciones Tecnológicas, SL. All rights reserved.
  7.  *
  8.  */
  9. namespace Globunet\DinamicDatabaseBundle\DependencyInjection;
  10. use Symfony\Component\Config\Definition\Builder\TreeBuilder;
  11. use Symfony\Component\Config\Definition\ConfigurationInterface;
  12. /**
  13.  * This is the class that validates and merges configuration from your app/config files.
  14.  *
  15.  * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/configuration.html}
  16.  */
  17. class Configuration implements ConfigurationInterface
  18. {
  19.     /**
  20.      * {@inheritdoc}
  21.      */
  22.     public function getConfigTreeBuilder()
  23.     {
  24.         $treeBuilder = new TreeBuilder();
  25.         $rootNode $treeBuilder->root('globunet_dinamic_database');
  26.         // Here you should define the parameters that are allowed to
  27.         // configure your bundle. See the documentation linked above for
  28.         // more information on that topic.
  29.         return $treeBuilder;
  30.     }
  31. }