diff -r 000000000000 -r 7f95f8617b0b vendor/bundles/Symfony/Bundle/AsseticBundle/AsseticBundle.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vendor/bundles/Symfony/Bundle/AsseticBundle/AsseticBundle.php Sat Sep 24 15:40:41 2011 +0200 @@ -0,0 +1,45 @@ + + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + +namespace Symfony\Bundle\AsseticBundle; + +use Symfony\Bundle\AsseticBundle\DependencyInjection\Compiler\AssetFactoryPass; +use Symfony\Bundle\AsseticBundle\DependencyInjection\Compiler\AssetManagerPass; +use Symfony\Bundle\AsseticBundle\DependencyInjection\Compiler\CheckYuiFilterPass; +use Symfony\Bundle\AsseticBundle\DependencyInjection\Compiler\FilterManagerPass; +use Symfony\Bundle\AsseticBundle\DependencyInjection\Compiler\CheckCssEmbedFilterPass; +use Symfony\Bundle\AsseticBundle\DependencyInjection\Compiler\CheckClosureFilterPass; +use Symfony\Bundle\AsseticBundle\DependencyInjection\Compiler\TemplatingPass; +use Symfony\Bundle\AsseticBundle\DependencyInjection\Compiler\SprocketsFilterPass; +use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\HttpKernel\Bundle\Bundle; + +/** + * Assetic integration. + * + * @author Kris Wallsmith + */ +class AsseticBundle extends Bundle +{ + public function build(ContainerBuilder $container) + { + parent::build($container); + + $container->addCompilerPass(new CheckClosureFilterPass()); + $container->addCompilerPass(new CheckCssEmbedFilterPass()); + $container->addCompilerPass(new CheckYuiFilterPass()); + $container->addCompilerPass(new SprocketsFilterPass()); + $container->addCompilerPass(new TemplatingPass()); + $container->addCompilerPass(new AssetFactoryPass()); + $container->addCompilerPass(new AssetManagerPass()); + $container->addCompilerPass(new FilterManagerPass()); + } +}