#[Package('core')]
class Checkout extends Bundle
{ /**
* {@inheritdoc}
*/
public function build(ContainerBuilder
$container): void
{ parent::
build($container);
$container->
addCompilerPass(new CartRedisCompilerPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 0
);
$loader =
new XmlFileLoader($container,
new FileLocator(__DIR__ . '/DependencyInjection/'
));
$loader->
load('cart.xml'
);
$loader->
load('customer.xml'
);
$loader->
load('document.xml'
);
$loader->
load('order.xml'
);
$loader->
load('payment.xml'
);
$loader->
load('rule.xml'
);
$loader->
load('promotion.xml'
);
$loader->
load('shipping.xml'
);