src/MenuBundle/SolidInvoiceMenuBundle.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 <open-source@solidworx.co>
  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\MenuBundle;
  12. use SolidInvoice\MenuBundle\DependencyInjection\CompilerPass\MenuCompilerPass;
  13. use Symfony\Component\DependencyInjection\ContainerBuilder;
  14. use Symfony\Component\HttpKernel\Bundle\Bundle;
  15. final class SolidInvoiceMenuBundle 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 MenuCompilerPass());
  22.     }
  23. }