vendor/xcart/doctrine-bridge-bundle/src/DoctrineBridgeBundle.php line 17

Open in your IDE?
  1. <?php
  2. /**
  3.  * Copyright (c) 2011-present Qualiteam software Ltd. All rights reserved.
  4.  * See https://www.x-cart.com/license-agreement.html for license details.
  5.  */
  6. declare(strict_types=1);
  7. namespace XCart\Bundle\DoctrineBridgeBundle;
  8. use Symfony\Component\DependencyInjection\Compiler\PassConfig;
  9. use Symfony\Component\DependencyInjection\ContainerBuilder;
  10. use Symfony\Component\HttpKernel\Bundle\Bundle;
  11. use XCart\Bundle\DoctrineBridgeBundle\DependencyInjection\Compiler\ConfigureActionsPass;
  12. class DoctrineBridgeBundle extends Bundle
  13. {
  14.     public function build(ContainerBuilder $container): void
  15.     {
  16.         parent::build($container);
  17.         $container->addCompilerPass(new ConfigureActionsPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION395);
  18.     }
  19. }