vendor/sonata-project/exporter/src/Bridge/Symfony/Bundle/SonataExporterBundle.php line 18

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Sonata Project package.
  4.  *
  5.  * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  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 Sonata\Exporter\Bridge\Symfony\Bundle;
  11. use Sonata\Exporter\Bridge\Symfony\DependencyInjection\Compiler\ExporterCompilerPass;
  12. use Symfony\Component\DependencyInjection\ContainerBuilder;
  13. use Symfony\Component\HttpKernel\Bundle\Bundle;
  14. final class SonataExporterBundle extends Bundle
  15. {
  16.     /**
  17.      * {@inheritdoc}
  18.      */
  19.     public function build(ContainerBuilder $container)
  20.     {
  21.         $container->addCompilerPass(new ExporterCompilerPass());
  22.     }
  23.     /**
  24.      * {@inheritdoc}
  25.      */
  26.     protected function getContainerExtensionClass()
  27.     {
  28.         return 'Exporter\Bridge\Symfony\DependencyInjection\SonataExporterExtension';
  29.     }
  30. }
  31. class_exists(\Exporter\Bridge\Symfony\Bundle\SonataExporterBundle::class);