vendor/endroid/qr-code-bundle/src/EndroidQrCodeBundle.php line 18

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4. * (c) Jeroen van den Enden <info@endroid.nl>
  5. *
  6. * This source file is subject to the MIT license that is bundled
  7. * with this source code in the file LICENSE.
  8. */
  9. namespace Endroid\QrCodeBundle;
  10. use Endroid\QrCodeBundle\DependencyInjection\Compiler\WriterRegistryPass;
  11. use Symfony\Component\DependencyInjection\ContainerBuilder;
  12. use Symfony\Component\HttpKernel\Bundle\Bundle;
  13. class EndroidQrCodeBundle extends Bundle
  14. {
  15. public function build(ContainerBuilder $container)
  16. {
  17. parent::build($container);
  18. $container->addCompilerPass(new WriterRegistryPass());
  19. }
  20. }