<?php
/**
* Simple HTML library.
*
* @package html
* @author David Molineus <david.molineus@netzmacht.de>
* @copyright 2017 netzmacht David Molineus. All rights reserved.
* @license LGPL 3.0
* @filesource
*/
declare(strict_types=1);
namespace Netzmacht\Html\Infrastructure\SymfonyBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* Class Configuration.
*
* @package Netzmacht\Html\Infrastructure\SymfonyBundle\DependencyInjection
*/
class Configuration implements ConfigurationInterface
{
/**
* {@inheritdoc}
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('netzmacht_html');
$rootNode
->children()
->arrayNode('standalone')
->prototype('scalar')
->end()
->end()
->end();
return $treeBuilder;
}
}