vendor/ivory/google-map-bundle/IvoryGoogleMapBundle.php line 26

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Ivory Google Map bundle package.
  4.  *
  5.  * (c) Eric GELOEN <geloen.eric@gmail.com>
  6.  *
  7.  * For the full copyright and license information, please read the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. namespace Ivory\GoogleMapBundle;
  11. use Ivory\GoogleMapBundle\DependencyInjection\Compiler\CleanTemplatingPass;
  12. use Ivory\GoogleMapBundle\DependencyInjection\Compiler\PublicForTestsCompilerPass;
  13. use Ivory\GoogleMapBundle\DependencyInjection\Compiler\RegisterControlRendererPass;
  14. use Ivory\GoogleMapBundle\DependencyInjection\Compiler\RegisterExtendableRendererPass;
  15. use Ivory\GoogleMapBundle\DependencyInjection\Compiler\RegisterFormResourcePass;
  16. use Ivory\GoogleMapBundle\DependencyInjection\Compiler\RegisterHelperListenerPass;
  17. use Symfony\Component\DependencyInjection\ContainerBuilder;
  18. use Symfony\Component\HttpKernel\Bundle\Bundle;
  19. /**
  20.  * @author GeLo <geloen.eric@gmail.com>
  21.  */
  22. class IvoryGoogleMapBundle extends Bundle
  23. {
  24.     /**
  25.      * {@inheritdoc}
  26.      */
  27.     public function build(ContainerBuilder $container)
  28.     {
  29.         $container
  30.             ->addCompilerPass(new CleanTemplatingPass())
  31.             ->addCompilerPass(new RegisterControlRendererPass())
  32.             ->addCompilerPass(new RegisterExtendableRendererPass())
  33.             ->addCompilerPass(new RegisterFormResourcePass())
  34.             ->addCompilerPass(new RegisterHelperListenerPass())
  35.             ->addCompilerPass(new PublicForTestsCompilerPass());
  36.     }
  37. }