Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated all core extensions to use the new shortcut method

  • Loading branch information...
commit e323cab990efbf00d4b1bf6b2bc39c10c6ce7b31 1 parent 8cd93d5
@fabpot fabpot authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 DependencyInjection/SwiftmailerExtension.php
View
4 DependencyInjection/SwiftmailerExtension.php
@@ -16,7 +16,6 @@
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Reference;
use Symfony\Component\Config\FileLocator;
-use Symfony\Component\Config\Definition\Processor;
/**
* SwiftmailerExtension is an extension for the SwiftMailer library.
@@ -45,9 +44,8 @@ public function load(array $configs, ContainerBuilder $container)
$loader->load('swiftmailer.xml');
$container->setAlias('mailer', 'swiftmailer.mailer');
- $processor = new Processor();
$configuration = new Configuration($container->getParameter('kernel.debug'));
- $config = $processor->processConfiguration($configuration, $configs);
+ $config = $this->processConfiguration($configuration, $configs);
if (null === $config['transport']) {
$transport = 'null';
Please sign in to comment.
Something went wrong with that request. Please try again.