vendor/shopware/platform/src/Docs/Docs.php line 10

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Docs;
  3. use Symfony\Component\Config\FileLocator;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
  6. use Symfony\Component\HttpKernel\Bundle\Bundle;
  7. class Docs extends Bundle
  8. {
  9.     /**
  10.      * @var string
  11.      */
  12.     protected $name 'Docs';
  13.     public function build(ContainerBuilder $container): void
  14.     {
  15.         parent::build($container);
  16.         $loader = new XmlFileLoader($container, new FileLocator(__DIR__ '/DependencyInjection/'));
  17.         $loader->load('services.xml');
  18.     }
  19. }