vendor/shopware/administration/Administration.php line 10

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Administration;
  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 Administration extends Bundle
  8. {
  9.     protected $name 'Administration';
  10.     public function build(ContainerBuilder $container): void
  11.     {
  12.         parent::build($container);
  13.         $loader = new XmlFileLoader($container, new FileLocator(__DIR__ '/DependencyInjection/'));
  14.         $loader->load('services.xml');
  15.     }
  16. }