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

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\Content;
  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 Content extends Bundle
  8. {
  9.     /**
  10.      * @var string
  11.      */
  12.     protected $name 'Content';
  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('category.xml');
  21.         $loader->load('media.xml');
  22.         $loader->load('product.xml');
  23.         $loader->load('newsletter_recipient.xml');
  24.         $loader->load('rule.xml');
  25.         $loader->load('product_stream.xml');
  26.         $loader->load('product_export.xml');
  27.         $loader->load('property.xml');
  28.         $loader->load('cms.xml');
  29.         $loader->load('mail_template.xml');
  30.         $loader->load('delivery_time.xml');
  31.         $loader->load('import_export.xml');
  32.         $loader->load('contact_form.xml');
  33.         $loader->load('sitemap.xml');
  34.         $loader->load('landing_page.xml');
  35.     }
  36. }