src/MailerBundle/SolidInvoiceMailerBundle.php line 20

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4.  * This file is part of SolidInvoice project.
  5.  *
  6.  * (c) Pierre du Plessis <[email protected]>
  7.  *
  8.  * This source file is subject to the MIT license that is bundled
  9.  * with this source code in the file LICENSE.
  10.  */
  11. namespace SolidInvoice\MailerBundle;
  12. use SolidInvoice\MailerBundle\DependencyInjection\CompilerPass\MailerTransportConfigCompilerPass;
  13. use Symfony\Component\DependencyInjection\ContainerBuilder;
  14. use Symfony\Component\HttpKernel\Bundle\Bundle;
  15. final class SolidInvoiceMailerBundle extends Bundle
  16. {
  17.     final public const NAMESPACE = __NAMESPACE__;
  18.     public function build(ContainerBuilder $container): void
  19.     {
  20.         parent::build($container);
  21.         $container->addCompilerPass(new MailerTransportConfigCompilerPass());
  22.     }
  23. }