src/WellCommerce/Bundle/FeedBundle/WellCommerceFeedBundle.php line 25

Open in your IDE?
  1. <?php declare(strict_types=0);
  2. /*
  3.  * WellCommerce Foundation
  4.  *
  5.  * This file is part of the WellCommerce package.
  6.  *
  7.  * (c) Adam Piotrowski <adam@wellcommerce.org>, Adrian Potepa <adrian@wellcommerce.org>
  8.  *
  9.  * For the full copyright and license information,
  10.  * please view the LICENSE file that was distributed with this source code.
  11.  */
  12. namespace WellCommerce\Bundle\FeedBundle;
  13. use Symfony\Component\DependencyInjection\ContainerBuilder;
  14. use Symfony\Component\HttpKernel\Bundle\Bundle;
  15. use WellCommerce\Bundle\FeedBundle\DependencyInjection\Compiler\RegisterFeedProviderPass;
  16. /**
  17.  * Class WellCommerceFeedBundle
  18.  *
  19.  * @author  Adam Piotrowski <adam@wellcommerce.org>
  20.  */
  21. class WellCommerceFeedBundle extends Bundle
  22. {
  23.     public function build(ContainerBuilder $container)
  24.     {
  25.         parent::build($container);
  26.         $container->addCompilerPass(new RegisterFeedProviderPass());
  27.     }
  28. }