version 1.1

This commit is contained in:
2021-07-07 10:26:43 +02:00
commit 85788e86b5
10 changed files with 860 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?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);
}
}