<?php 
 
/* 
 * This file is part of the Limenius\LiformBundle package. 
 * 
 * (c) Limenius <https://github.com/Limenius/> 
 * 
 * For the full copyright and license information, please view the LICENSE 
 * file that was distributed with this source code. 
 */ 
 
namespace Limenius\LiformBundle; 
 
use Limenius\LiformBundle\DependencyInjection\Compiler\ExtensionCompilerPass; 
use Limenius\LiformBundle\DependencyInjection\Compiler\TransformerCompilerPass; 
use Symfony\Component\DependencyInjection\ContainerBuilder; 
use Symfony\Component\HttpKernel\Bundle\Bundle; 
 
/** 
 * @author Nacho MartÃn <nacho@limenius.com> 
 */ 
class LimeniusLiformBundle extends Bundle 
{ 
    /** 
     * @inheritDoc 
     */ 
    public function build(ContainerBuilder $container) 
    { 
        $container->addCompilerPass(new TransformerCompilerPass()); 
        $container->addCompilerPass(new ExtensionCompilerPass()); 
    } 
}