<?php declare(strict_types=1);
namespace Shopware\Core\Content;
use Shopware\Core\Framework\Bundle;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use function Flag\next6050;
class Content extends Bundle
{
protected $name = 'Content';
/**
* {@inheritdoc}
*/
public function build(ContainerBuilder $container): void
{
parent::build($container);
$loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/DependencyInjection/'));
$loader->load('category.xml');
$loader->load('media.xml');
$loader->load('product.xml');
$loader->load('newsletter_recipient.xml');
$loader->load('rule.xml');
$loader->load('product_stream.xml');
$loader->load('product_export.xml');
$loader->load('property.xml');
$loader->load('cms.xml');
$loader->load('mail_template.xml');
$loader->load('delivery_time.xml');
$loader->load('import_export.xml');
$loader->load('contact_form.xml');
$loader->load('sitemap.xml');
if (next6050()) {
$loader->load('google_shopping.xml');
}
}
}