vendor/uvdesk/extension-framework/UVDeskExtensionFrameworkBundle.php line 14

Open in your IDE?
  1. <?php
  2. namespace Webkul\UVDesk\ExtensionFrameworkBundle;
  3. use Symfony\Component\HttpKernel\Bundle\Bundle;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Webkul\UVDesk\ExtensionFrameworkBundle\DependencyInjection\ContainerExtension;
  6. use Webkul\UVDesk\ExtensionFrameworkBundle\DependencyInjection\Passes\RoutingPass;
  7. use Webkul\UVDesk\ExtensionFrameworkBundle\DependencyInjection\Passes\ConfigurationPass;
  8. use Webkul\UVDesk\ExtensionFrameworkBundle\DependencyInjection\Passes\PackageConfigurationPass;
  9. class UVDeskExtensionFrameworkBundle extends Bundle
  10. {
  11. public function getContainerExtension()
  12. {
  13. return new ContainerExtension();
  14. }
  15. public function build(ContainerBuilder $container)
  16. {
  17. parent::build($container);
  18. $container
  19. ->addCompilerPass(new RoutingPass())
  20. ->addCompilerPass(new ConfigurationPass())
  21. ->addCompilerPass(new PackageConfigurationPass());
  22. }
  23. }