vendor/odolbeau/phone-number-bundle/src/MisdPhoneNumberBundle.php line 23

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4.  * This file is part of the Symfony2 PhoneNumberBundle.
  5.  *
  6.  * (c) University of Cambridge
  7.  *
  8.  * For the full copyright and license information, please view the LICENSE
  9.  * file that was distributed with this source code.
  10.  */
  11. namespace Misd\PhoneNumberBundle;
  12. use Misd\PhoneNumberBundle\DependencyInjection\Compiler\FormTwigTemplateCompilerPass;
  13. use Symfony\Component\DependencyInjection\ContainerBuilder;
  14. use Symfony\Component\HttpKernel\Bundle\Bundle;
  15. /**
  16.  * Phone number bundle.
  17.  */
  18. class MisdPhoneNumberBundle extends Bundle
  19. {
  20.     public function build(ContainerBuilder $container): void
  21.     {
  22.         parent::build($container);
  23.         $container->addCompilerPass(new FormTwigTemplateCompilerPass());
  24.     }
  25. }