25 lines
687 B
PHP
25 lines
687 B
PHP
|
<?php
|
||
|
|
||
|
namespace Bluesquare\ValidatorBundle\DependencyInjection;
|
||
|
|
||
|
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
|
||
|
use Symfony\Component\Config\Definition\ConfigurationInterface;
|
||
|
use Symfony\Component\HttpFoundation\RequestStack;
|
||
|
use Symfony\Contracts\Translation\TranslatorInterface;
|
||
|
|
||
|
class Configuration implements ConfigurationInterface
|
||
|
{
|
||
|
|
||
|
/**
|
||
|
* Generates the configuration tree builder.
|
||
|
*
|
||
|
* @return \Symfony\Component\Config\Definition\Builder\TreeBuilder The tree builder
|
||
|
*/
|
||
|
public function getConfigTreeBuilder()
|
||
|
{
|
||
|
$treeBuilder = new TreeBuilder();
|
||
|
$treeBuilder->root('validator');
|
||
|
return ($treeBuilder);
|
||
|
}
|
||
|
}
|