vendor/coreshop/core-shop/src/CoreShop/Bundle/TrackingBundle/CoreShopTrackingBundle.php line 26

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4.  * CoreShop
  5.  *
  6.  * This source file is available under two different licenses:
  7.  *  - GNU General Public License version 3 (GPLv3)
  8.  *  - CoreShop Commercial License (CCL)
  9.  * Full copyright and license information is available in
  10.  * LICENSE.md which is distributed with this source code.
  11.  *
  12.  * @copyright  Copyright (c) CoreShop GmbH (https://www.coreshop.org)
  13.  * @license    https://www.coreshop.org/license     GPLv3 and CCL
  14.  *
  15.  */
  16. namespace CoreShop\Bundle\TrackingBundle;
  17. use CoreShop\Bundle\TrackingBundle\DependencyInjection\Compiler\TrackerPass;
  18. use CoreShop\Bundle\TrackingBundle\DependencyInjection\Compiler\TrackingExtractorPass;
  19. use Symfony\Component\DependencyInjection\ContainerBuilder;
  20. use Symfony\Component\HttpKernel\Bundle\Bundle;
  21. final class CoreShopTrackingBundle extends Bundle
  22. {
  23.     public function build(ContainerBuilder $container): void
  24.     {
  25.         $container->addCompilerPass(new TrackerPass());
  26.         $container->addCompilerPass(new TrackingExtractorPass());
  27.     }
  28. }