vendor/netzmacht/html/src/Infrastructure/SymfonyBundle/DependencyInjection/Configuration.php line 32

Open in your IDE?
  1. <?php
  2. /**
  3.  * Simple HTML library.
  4.  *
  5.  * @package    html
  6.  * @author     David Molineus <david.molineus@netzmacht.de>
  7.  * @copyright  2017 netzmacht David Molineus. All rights reserved.
  8.  * @license    LGPL 3.0
  9.  * @filesource
  10.  */
  11. declare(strict_types=1);
  12. namespace Netzmacht\Html\Infrastructure\SymfonyBundle\DependencyInjection;
  13. use Symfony\Component\Config\Definition\Builder\TreeBuilder;
  14. use Symfony\Component\Config\Definition\ConfigurationInterface;
  15. /**
  16.  * Class Configuration.
  17.  *
  18.  * @package Netzmacht\Html\Infrastructure\SymfonyBundle\DependencyInjection
  19.  */
  20. class Configuration implements ConfigurationInterface
  21. {
  22.     /**
  23.      * {@inheritdoc}
  24.      */
  25.     public function getConfigTreeBuilder()
  26.     {
  27.         $treeBuilder = new TreeBuilder();
  28.         $rootNode    $treeBuilder->root('netzmacht_html');
  29.         $rootNode
  30.             ->children()
  31.                 ->arrayNode('standalone')
  32.                     ->prototype('scalar')
  33.                     ->end()
  34.                 ->end()
  35.             ->end();
  36.         return $treeBuilder;
  37.     }
  38. }