for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Avoran\RapidoBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder()
$treeBuilder = new TreeBuilder('rapido');
$treeBuilder->getRootNode()
->children()
->scalarNode('table_name_prefix')
->defaultValue('read_model_')
->end()
->scalarNode('table_name_suffix')
->defaultValue('_snapshot')
->scalarNode('id_column_name')
->defaultValue('id')
->scalarNode('database_connection')
->defaultValue('database_connection')
;
return $treeBuilder;
}