Configuration.php 879B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace Muzich\AdminBundle\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();
  18. $rootNode = $treeBuilder->root('muzich_admin');
  19. // Here you should define the parameters that are allowed to
  20. // configure your bundle. See the documentation linked above for
  21. // more information on that topic.
  22. return $treeBuilder;
  23. }
  24. }