vendor/e-moe/guzzle6-bundle/src/EmoeGuzzleBundle.php line 10

Open in your IDE?
  1. <?php
  2. namespace Emoe\GuzzleBundle;
  3. use Emoe\GuzzleBundle\DependencyInjection\Compiler\MonologCompilerPass;
  4. use Symfony\Component\HttpKernel\Bundle\Bundle;
  5. use Symfony\Component\DependencyInjection\ContainerBuilder;
  6. use Emoe\GuzzleBundle\DependencyInjection\Compiler\ClientCompilerPass;
  7. class EmoeGuzzleBundle extends Bundle
  8. {
  9.     /**
  10.      * {@inheritdoc}
  11.      */
  12.     public function build(ContainerBuilder $container)
  13.     {
  14.         parent::build($container);
  15.         $container->addCompilerPass(new ClientCompilerPass());
  16.         $container->addCompilerPass(new MonologCompilerPass());
  17.     }
  18. }