123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- namespace Symfony\Bundle\SwiftmailerBundle;
- use Symfony\Framework\Bundle\Bundle;
- use Symfony\Components\DependencyInjection\ContainerInterface;
- use Symfony\Components\DependencyInjection\Loader\Loader;
- use Symfony\Bundle\SwiftmailerBundle\DependencyInjection\SwiftmailerExtension;
- /*
- * This file is part of the Symfony framework.
- *
- * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
- *
- * This source file is subject to the MIT license that is bundled
- * with this source code in the file LICENSE.
- */
- /**
- * Bundle.
- *
- * @package Symfony
- * @subpackage Bundle_SwiftmailerBundle
- * @author Fabien Potencier <fabien.potencier@symfony-project.com>
- */
- class SwiftmailerBundle extends Bundle
- {
- /**
- * Customizes the Container instance.
- *
- * @param Symfony\Components\DependencyInjection\ContainerInterface $container A ContainerInterface instance
- *
- * @return Symfony\Components\DependencyInjection\BuilderConfiguration A BuilderConfiguration instance
- */
- public function buildContainer(ContainerInterface $container)
- {
- Loader::registerExtension(new SwiftmailerExtension());
- }
- }
|