vendor/uvdesk/core-framework/UVDeskCoreFrameworkBundle.php line 13

Open in your IDE?
  1. <?php
  2. namespace Webkul\UVDesk\CoreFrameworkBundle;
  3. use Symfony\Component\HttpKernel\Bundle\Bundle;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Webkul\UVDesk\CoreFrameworkBundle\DependencyInjection\Passes;
  6. use Webkul\UVDesk\CoreFrameworkBundle\DependencyInjection\CoreFramework;
  7. use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
  8. class UVDeskCoreFrameworkBundle extends Bundle
  9. {
  10.     public function getContainerExtension(): ?ExtensionInterface
  11.     {
  12.         return new CoreFramework();
  13.     }
  14.     public function build(ContainerBuilder $container)
  15.     {
  16.         parent::build($container);
  17.         $container
  18.             ->addCompilerPass(new Passes\Events())
  19.             ->addCompilerPass(new Passes\Routes())
  20.             ->addCompilerPass(new Passes\Extendables())
  21.             ->addCompilerPass(new Passes\DashboardComponents())
  22.             ->addCompilerPass(new Passes\Ticket\Widgets())
  23.             ->addCompilerPass(new Passes\Ticket\QuickActionButtons());
  24.     }
  25. }