vendor/friendsofsymfony/comment-bundle/FOSCommentBundle.php line 21

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the FOSCommentBundle package.
  4.  *
  5.  * (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
  6.  *
  7.  * This source file is subject to the MIT license that is bundled
  8.  * with this source code in the file LICENSE.
  9.  */
  10. namespace FOS\CommentBundle;
  11. use FOS\CommentBundle\DependencyInjection\Compiler\SortingPass;
  12. use Symfony\Component\DependencyInjection\ContainerBuilder;
  13. use Symfony\Component\HttpKernel\Bundle\Bundle;
  14. /**
  15.  * FOSCommentBundle.
  16.  */
  17. class FOSCommentBundle extends Bundle
  18. {
  19.     /**
  20.      * {@inheritdoc}
  21.      */
  22.     public function build(ContainerBuilder $container)
  23.     {
  24.         parent::build($container);
  25.         $container->addCompilerPass(new SortingPass());
  26.     }
  27. }