From 841220539e1eac327d60c44b455c8abad74cceb6 Mon Sep 17 00:00:00 2001 From: cbeauvoi Date: Tue, 19 Feb 2019 11:06:19 +0100 Subject: [PATCH] test --- ValidatorBundle.php | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/ValidatorBundle.php b/ValidatorBundle.php index d4b2736..bfbbab6 100644 --- a/ValidatorBundle.php +++ b/ValidatorBundle.php @@ -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'); - } }