test
This commit is contained in:
parent
9b325c3cc9
commit
841220539e
|
@ -4,13 +4,12 @@ namespace Bluesquare;
|
|||
|
||||
use Symfony\Component\Config\FileLocator;
|
||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
use Symfony\Component\DependencyInjection\Extension\Extension;
|
||||
use Symfony\Component\HttpFoundation\JsonResponse;
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
use Symfony\Contracts\Translation\TranslatorInterface;
|
||||
use Traversable;
|
||||
|
||||
class ValidatorBundle extends Extension
|
||||
class ValidatorBundle
|
||||
{
|
||||
protected $request;
|
||||
protected $context;
|
||||
|
@ -443,15 +442,4 @@ class ValidatorBundle extends Extension
|
|||
$words = array_map('ucfirst', explode('_', $string));
|
||||
return implode('', $words);
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads a specific configuration.
|
||||
*
|
||||
* @throws \InvalidArgumentException When provided tag is not defined in this extension
|
||||
*/
|
||||
public function load(array $configs, ContainerBuilder $container)
|
||||
{
|
||||
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
|
||||
$loader->load('services.xml');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue