for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the bootstrap-bundle package.
*
* (c) 2019 WEBEWEB
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Bundle\BootstrapBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* Configuration.
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Bundle\BootstrapBundle\DependencyInjection
class Configuration implements ConfigurationInterface {
* {@inheritDoc}
public function getConfigTreeBuilder() {
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root("wbw_bootstrap");
$rootNode->children()
->booleanNode("twig")->defaultTrue()->info("Load Twig extensions")->end()
->end();
return $treeBuilder;
}