src/DashboardBundle/SolidInvoiceDashboardBundle.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\DashboardBundle;
  12. use SolidInvoice\DashboardBundle\DependencyInjection\Compiler\DashboardWidgetCompilerPass;
  13. use Symfony\Component\DependencyInjection\ContainerBuilder;
  14. use Symfony\Component\HttpKernel\Bundle\Bundle;
  15. final class SolidInvoiceDashboardBundle extends Bundle
  16. {
  17.     final public const NAMESPACE = __NAMESPACE__;
  18.     public function build(ContainerBuilder $container): void
  19.     {
  20.         $container->addCompilerPass(new DashboardWidgetCompilerPass());
  21.     }
  22. }