vendor/emprel/ambiente-bundle/DependencyInjection/Configuration.php line 31

Open in your IDE?
  1. <?php
  2. /*
  3.  * Este arquivo é parte do package Ambiente Bundle.
  4.  *
  5.  * (c) Laino Santos <lainosantos@recife.pe.gov.br>
  6.  *
  7.  * Para informações completas sobre copyright e licença, por favor ver o
  8.  * arquivo LICENCE distribuído juntamente com este código.
  9.  */
  10. namespace Emprel\Ambiente\Bundle\DependencyInjection;
  11. use Symfony\Component\Config\Definition\Builder\TreeBuilder;
  12. use Symfony\Component\Config\Definition\ConfigurationInterface;
  13. /**
  14.  * {@inheritdoc}
  15.  *
  16.  * @package Emprel\Ambiente\Bundle\DependencyInjection
  17.  * @author Laino Santos <lainosantos@recife.pe.gov.br>
  18.  */
  19. class Configuration implements ConfigurationInterface
  20. {
  21.     /**
  22.      * {@inheritdoc}
  23.      */
  24.     public function getConfigTreeBuilder()
  25.     {
  26.         $treeBuilder = new TreeBuilder();
  27.         $rootNode $treeBuilder->root('emprel_ambiente');
  28.         $rootNode
  29.             ->children()
  30.                 ->booleanNode('acesso_interno_host_externo')
  31.                     ->defaultTrue()
  32.                     ->end()
  33.             ->end();
  34.         return $treeBuilder;
  35.     }
  36. }