vendor/white-october/pagerfanta-bundle/WhiteOctoberPagerfantaBundle.php line 23

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Pagerfanta package.
  4.  *
  5.  * (c) Pablo Díez <[email protected]>
  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 WhiteOctober\PagerfantaBundle;
  11. use Symfony\Component\DependencyInjection\ContainerBuilder;
  12. use Symfony\Component\HttpKernel\Bundle\Bundle;
  13. use WhiteOctober\PagerfantaBundle\DependencyInjection\Compiler\AddPagerfantasPass;
  14. /**
  15.  * WhiteOctoberPagerfantaBundle.
  16.  *
  17.  * @author Pablo Díez <[email protected]>
  18.  */
  19. class WhiteOctoberPagerfantaBundle extends Bundle
  20. {
  21.     /**
  22.      * {@inheritdoc}
  23.      */
  24.     public function build(ContainerBuilder $container)
  25.     {
  26.         parent::build($container);
  27.         $container->addCompilerPass(new AddPagerfantasPass());
  28.     }
  29. }