vendor/symfony/webpack-encore-bundle/src/WebpackEncoreBundle.php line 16

  1. <?php
  2. /*
  3.  * This file is part of the Symfony WebpackEncoreBundle package.
  4.  * (c) Fabien Potencier <[email protected]>
  5.  * For the full copyright and license information, please view the LICENSE
  6.  * file that was distributed with this source code.
  7.  */
  8. namespace Symfony\WebpackEncoreBundle;
  9. use Symfony\Component\DependencyInjection\ContainerBuilder;
  10. use Symfony\Component\HttpKernel\Bundle\Bundle;
  11. use Symfony\WebpackEncoreBundle\DependencyInjection\Compiler\RemoveStimulusServicesPass;
  12. final class WebpackEncoreBundle extends Bundle
  13. {
  14.     public function build(ContainerBuilder $container)
  15.     {
  16.         $container->addCompilerPass(new RemoveStimulusServicesPass());
  17.     }
  18. }