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

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. class UVDeskCoreFrameworkBundle extends Bundle
  8. {
  9. public function getContainerExtension()
  10. {
  11. return new CoreFramework();
  12. }
  13. public function build(ContainerBuilder $container)
  14. {
  15. parent::build($container);
  16. $container
  17. ->addCompilerPass(new Passes\Events())
  18. ->addCompilerPass(new Passes\Routes())
  19. ->addCompilerPass(new Passes\Extendables())
  20. ->addCompilerPass(new Passes\DashboardComponents())
  21. ->addCompilerPass(new Passes\Ticket\Widgets())
  22. ->addCompilerPass(new Passes\Ticket\QuickActionButtons());
  23. }
  24. }