vendor/sylius/sylius/src/Sylius/Bundle/UiBundle/SyliusUiBundle.php line 23

Open in your IDE?
  1. <?php
  2. /*
  3. * This file is part of the Sylius package.
  4. *
  5. * (c) Paweł Jędrzejewski
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. declare(strict_types=1);
  11. namespace Sylius\Bundle\UiBundle;
  12. use Sylius\Bundle\UiBundle\DependencyInjection\Compiler\LegacySonataBlockPass;
  13. use Symfony\Component\DependencyInjection\ContainerBuilder;
  14. use Symfony\Component\HttpKernel\Bundle\Bundle;
  15. /**
  16. * This bundle provides generic UI for Sylius bundles and platform.
  17. */
  18. final class SyliusUiBundle extends Bundle
  19. {
  20. public function build(ContainerBuilder $container): void
  21. {
  22. $container->addCompilerPass(new LegacySonataBlockPass());
  23. }
  24. }