<?php 
 
/* 
 * This file is part of the flysystem-bundle project. 
 * 
 * (c) Titouan Galopin <galopintitouan@gmail.com> 
 * 
 * For the full copyright and license information, please view the LICENSE 
 * file that was distributed with this source code. 
 */ 
 
namespace League\FlysystemBundle; 
 
use League\FlysystemBundle\DependencyInjection\Compiler\LazyFactoryPass; 
use Symfony\Component\DependencyInjection\ContainerBuilder; 
use Symfony\Component\HttpKernel\Bundle\Bundle; 
 
/** 
 * @author Titouan Galopin <galopintitouan@gmail.com> 
 * 
 * @final 
 */ 
class FlysystemBundle extends Bundle 
{ 
    /** 
     * {@inheritdoc} 
     */ 
    public function build(ContainerBuilder $container) 
    { 
        parent::build($container); 
 
        $container->addCompilerPass(new LazyFactoryPass()); 
    } 
}