Permalink
Browse files

updated all core extensions to use the new shortcut method

  • Loading branch information...
1 parent 8cd93d5 commit e323cab990efbf00d4b1bf6b2bc39c10c6ce7b31 @fabpot fabpot committed Jul 18, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 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';

0 comments on commit e323cab

Please sign in to comment.