vendor/kunstmaan/dashboard-bundle/KunstmaanDashboardBundle.php line 10

Open in your IDE?
  1. <?php
  2. namespace Kunstmaan\DashboardBundle;
  3. use Kunstmaan\DashboardBundle\DependencyInjection\Compiler\DeprecateClassParametersPass;
  4. use Kunstmaan\DashboardBundle\DependencyInjection\Compiler\WidgetCompilerPass;
  5. use Symfony\Component\DependencyInjection\ContainerBuilder;
  6. use Symfony\Component\HttpKernel\Bundle\Bundle;
  7. class KunstmaanDashboardBundle extends Bundle
  8. {
  9.     public function build(ContainerBuilder $container)
  10.     {
  11.         parent::build($container);
  12.         $container->addCompilerPass(new WidgetCompilerPass());
  13.         $container->addCompilerPass(new DeprecateClassParametersPass());
  14.     }
  15. }