<?php
namespace BrokerAction\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$treeBuilder->root('broker_action')
->children()
->arrayNode('mapping')
->arrayPrototype()
->children()
->scalarNode('path')->end()
->scalarNode('action')->end()
->end()
->end()
->end()
->end();
return $treeBuilder;
}
}