vendor/ibexa/system-info/src/bundle/IbexaSystemInfoBundle.php line 17

Open in your IDE?
  1. <?php
  2. /**
  3. * @copyright Copyright (C) Ibexa AS. All rights reserved.
  4. * @license For full copyright and license information view LICENSE file distributed with this source code.
  5. */
  6. namespace Ibexa\Bundle\SystemInfo;
  7. use Ibexa\Bundle\SystemInfo\DependencyInjection\Compiler\OutputFormatPass;
  8. use Ibexa\Bundle\SystemInfo\DependencyInjection\Compiler\SystemInfoCollectorPass;
  9. use Ibexa\Bundle\SystemInfo\DependencyInjection\Compiler\SystemInfoTabGroupPass;
  10. use Ibexa\Bundle\SystemInfo\DependencyInjection\IbexaSystemInfoExtension;
  11. use Symfony\Component\DependencyInjection\ContainerBuilder;
  12. use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
  13. use Symfony\Component\HttpKernel\Bundle\Bundle;
  14. class IbexaSystemInfoBundle extends Bundle
  15. {
  16. public function build(ContainerBuilder $container): void
  17. {
  18. parent::build($container);
  19. $container->addCompilerPass(new SystemInfoCollectorPass());
  20. $container->addCompilerPass(new OutputFormatPass());
  21. $container->addCompilerPass(new SystemInfoTabGroupPass());
  22. }
  23. /**
  24. * {@inheritdoc}
  25. */
  26. public function getContainerExtension(): ExtensionInterface
  27. {
  28. return new IbexaSystemInfoExtension();
  29. }
  30. }
  31. class_alias(IbexaSystemInfoBundle::class, 'EzSystems\EzSupportToolsBundle\EzSystemsEzSupportToolsBundle');