vendor/symfony-cmf/core-bundle/src/CmfCoreBundle.php line 18

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Symfony CMF package.
  4.  *
  5.  * (c) 2011-2017 Symfony CMF
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. namespace Symfony\Cmf\Bundle\CoreBundle;
  11. use Symfony\Cmf\Bundle\CoreBundle\DependencyInjection\Compiler\AddPublishedVotersPass;
  12. use Symfony\Component\DependencyInjection\ContainerBuilder;
  13. use Symfony\Component\HttpKernel\Bundle\Bundle;
  14. class CmfCoreBundle extends Bundle
  15. {
  16.     public function build(ContainerBuilder $container)
  17.     {
  18.         $container->addCompilerPass(new AddPublishedVotersPass());
  19.     }
  20. }