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'); - } }