vendor/anaxago/assetic-bundle/AsseticBundle.php line 23

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Symfony framework.
  4.  *
  5.  * (c) Fabien Potencier <fabien@symfony.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 Symfony\Bundle\AsseticBundle;
  11. use Symfony\Bundle\AsseticBundle\DependencyInjection\Compiler;
  12. use Symfony\Component\DependencyInjection\ContainerBuilder;
  13. use Symfony\Component\HttpKernel\Bundle\Bundle;
  14. /**
  15.  * Assetic integration.
  16.  *
  17.  * @author Kris Wallsmith <kris@symfony.com>
  18.  */
  19. class AsseticBundle extends Bundle
  20. {
  21.     public function build(ContainerBuilder $container)
  22.     {
  23.         $container->addCompilerPass(new Compiler\TemplateResourcesPass());
  24.         $container->addCompilerPass(new Compiler\CheckClosureFilterPass());
  25.         $container->addCompilerPass(new Compiler\CheckCssEmbedFilterPass());
  26.         $container->addCompilerPass(new Compiler\CheckYuiFilterPass());
  27.         $container->addCompilerPass(new Compiler\SprocketsFilterPass());
  28.         $container->addCompilerPass(new Compiler\TemplatingPass());
  29.         $container->addCompilerPass(new Compiler\AssetFactoryPass());
  30.         $container->addCompilerPass(new Compiler\AssetManagerPass());
  31.         $container->addCompilerPass(new Compiler\FilterManagerPass());
  32.         $container->addCompilerPass(new Compiler\RouterResourcePass());
  33.         $container->addCompilerPass(new Compiler\StaticAsseticHelperPass());
  34.     }
  35. }