vendor/uvdesk/automation-bundle/UVDeskAutomationBundle.php line 11

Open in your IDE?
  1. <?php
  2. namespace Webkul\UVDesk\AutomationBundle;
  3. use Symfony\Component\HttpKernel\Bundle\Bundle;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Symfony\Component\DependencyInjection\Compiler\PassConfig;
  6. use Webkul\UVDesk\AutomationBundle\DependencyInjection\UVDeskExtension;
  7. use Webkul\UVDesk\AutomationBundle\DependencyInjection\Compilers as UVDeskAutomationCompilers;
  8. class UVDeskAutomationBundle extends Bundle
  9. {
  10. public function getContainerExtension()
  11. {
  12. return new UVDeskExtension();
  13. }
  14. public function build(ContainerBuilder $container)
  15. {
  16. parent::build($container);
  17. $container->addCompilerPass(new UVDeskAutomationCompilers\WorkflowPass());
  18. $container->addCompilerPass(new UVDeskAutomationCompilers\PreparedResponsePass());
  19. }
  20. }