vendor/shopware/platform/src/Core/Checkout/Checkout.php line 10

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\Checkout;
  3. use Shopware\Core\Framework\Bundle;
  4. use Symfony\Component\Config\FileLocator;
  5. use Symfony\Component\DependencyInjection\ContainerBuilder;
  6. use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
  7. class Checkout extends Bundle
  8. {
  9.     /**
  10.      * @var string
  11.      */
  12.     protected $name 'Checkout';
  13.     /**
  14.      * {@inheritdoc}
  15.      */
  16.     public function build(ContainerBuilder $container): void
  17.     {
  18.         parent::build($container);
  19.         $loader = new XmlFileLoader($container, new FileLocator(__DIR__ '/DependencyInjection/'));
  20.         $loader->load('cart.xml');
  21.         $loader->load('customer.xml');
  22.         $loader->load('document.xml');
  23.         $loader->load('order.xml');
  24.         $loader->load('payment.xml');
  25.         $loader->load('rule.xml');
  26.         $loader->load('promotion.xml');
  27.         $loader->load('shipping.xml');
  28.     }
  29. }