app/Plugin/PrivateURL42/Bundle/PrivateUrlBundle.php line 20

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of PrivateURL42
  4.  *
  5.  * Copyright(c) Akira Kurozumi <info@a-zumi.net>
  6.  *
  7.  * https://a-zumi.net
  8.  *
  9.  * For the full copyright and license information, please view the LICENSE
  10.  * file that was distributed with this source code.
  11.  */
  12. namespace Plugin\PrivateURL42\Bundle;
  13. use Plugin\PrivateURL42\DependencyInjection\Compiler\PrivateUrlPass;
  14. use Symfony\Component\DependencyInjection\ContainerBuilder;
  15. use Symfony\Component\HttpKernel\Bundle\Bundle;
  16. class PrivateUrlBundle extends Bundle
  17. {
  18.     public function build(ContainerBuilder $container)
  19.     {
  20.         parent::build($container);
  21.         $container->addCompilerPass(new PrivateUrlPass());
  22.     }
  23. }