<?php
/**
* @package 3slab/VdmLibraryBundle
* @copyright 2020 Suez Smart Solutions 3S.lab
* @license https://github.com/3slab/VdmLibraryBundle/blob/master/LICENSE
*/
namespace Vdm\Bundle\LibraryBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Vdm\Bundle\LibraryBundle\DependencyInjection\Compiler\MessagesCommandCompilerPass;
use Vdm\Bundle\LibraryBundle\DependencyInjection\Compiler\SetStorageCompilerPass;
class VdmLibraryBundle extends Bundle
{
/**
* @param ContainerBuilder $container
*/
public function build(ContainerBuilder $container)
{
$container->addCompilerPass(new SetStorageCompilerPass());
$container->addCompilerPass(new MessagesCommandCompilerPass());
}
}