for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Everlution\NavigationBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* Class Configuration.
*
* @author Ivan Barlog <[email protected]>
*/
class Configuration implements ConfigurationInterface
{
const CONFIG_ROUTER_SERVICE = 'router_service';
public function getConfigTreeBuilder()
$treeBuilder = new TreeBuilder('everlution_navigation');
$treeBuilder
->getRootNode()
->children()
->scalarNode(self::CONFIG_ROUTER_SERVICE)->defaultValue('router.default')->end()
->end()
;
return $treeBuilder;
}