for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Markus Tacker <[email protected]>
* @copyright 2013-2016 Verein zur Förderung der Netzkultur im Rhein-Main-Gebiet e.V. | http://netzkultur-rheinmain.de/
*/
namespace BCRM\WebBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
* This is the class that validates and merges configuration from the app/config files.
class Configuration implements ConfigurationInterface
{
* {@inheritDoc}
public function getConfigTreeBuilder()
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('bcrm_web');
$rootNode
->children()
->scalarNode('content_dir')->defaultValue('%kernel.root_dir%/../web/content')->end()
->scalarNode('content_path')->defaultValue('/content')->end()
->end();
return $treeBuilder;
}