vendor/3slab/vdm-library-bundle/VdmLibraryBundle.php line 16

Open in your IDE?
  1. <?php
  2. /**
  3.  * @package    3slab/VdmLibraryBundle
  4.  * @copyright  2020 Suez Smart Solutions 3S.lab
  5.  * @license    https://github.com/3slab/VdmLibraryBundle/blob/master/LICENSE
  6.  */
  7. namespace Vdm\Bundle\LibraryBundle;
  8. use Symfony\Component\DependencyInjection\ContainerBuilder;
  9. use Symfony\Component\HttpKernel\Bundle\Bundle;
  10. use Vdm\Bundle\LibraryBundle\DependencyInjection\Compiler\MessagesCommandCompilerPass;
  11. use Vdm\Bundle\LibraryBundle\DependencyInjection\Compiler\SetStorageCompilerPass;
  12. class VdmLibraryBundle extends Bundle
  13. {
  14.     /**
  15.      * @param ContainerBuilder $container
  16.      */
  17.     public function build(ContainerBuilder $container)
  18.     {
  19.         $container->addCompilerPass(new SetStorageCompilerPass());
  20.         $container->addCompilerPass(new MessagesCommandCompilerPass());
  21.     }
  22. }