File Manager Lite
Dir:
/home/u540325668/domains/dumbafarm.in/public_html/vendor/symfony/swiftmailer-bundle
Upload
[..]
CHANGELOG (4.07 KB)
Edit
Rename
Del
Command/
Rename
Del
DataCollector/
Rename
Del
DependencyInjection/
Rename
Del
EventListener/
Rename
Del
LICENSE (1.03 KB)
Edit
Rename
Del
Resources/
Rename
Del
SwiftmailerBundle.php (1.44 KB)
Edit
Rename
Del
Edit: SwiftmailerBundle.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\SwiftmailerBundle; use Symfony\Bundle\SwiftmailerBundle\DependencyInjection\Compiler\EnsureNoHotPathPass; use Symfony\Bundle\SwiftmailerBundle\DependencyInjection\Compiler\RegisterPluginsPass; use Symfony\Component\Console\Application; use Symfony\Component\DependencyInjection\Compiler\PassConfig; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Bundle\Bundle; /** * @author Fabien Potencier <fabien@symfony.com> */ class SwiftmailerBundle extends Bundle { public function build(ContainerBuilder $container) { parent::build($container); $container->addCompilerPass(new RegisterPluginsPass()); // Older supported versions of Symfony don't have the parent class that EnsureNoHotPathPass extends from. // But they don't have the hot_path optimization either, so not being able to register our pass is not an issue. if (class_exists('Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass')) { $container->addCompilerPass(new EnsureNoHotPathPass(), PassConfig::TYPE_AFTER_REMOVING); } } public function registerCommands(Application $application) { // noop } }
Simpan