You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
695B

  1. <?php
  2. namespace Lc\CaracoleBundle\DependencyInjection;
  3. use Symfony\Component\Config\Definition\Builder\TreeBuilder;
  4. use Symfony\Component\Config\Definition\ConfigurationInterface;
  5. /**
  6. * This is the class that validates and merges configuration from your app/config files
  7. *
  8. * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
  9. */
  10. class Configuration implements ConfigurationInterface
  11. {
  12. /**
  13. * {@inheritdoc}
  14. */
  15. public function getConfigTreeBuilder()
  16. {
  17. $treeBuilder = new TreeBuilder('lc_carac');
  18. $rootNode = $treeBuilder->getRootNode();
  19. return $treeBuilder;
  20. }
  21. }