vendor/logist/systemd-bundle/src/LogistSystemdBundle/LogistSystemdBundle.php line 22

Open in your IDE?
  1. <?php
  2. /*
  3.  *  This file is part of the logist\systemd-bundle package.
  4.  *
  5.  *  Copyright 2019 logist.cloud <support@logist.cloud>
  6.  */
  7. namespace LogistSystemdBundle;
  8. use Symfony\Component\HttpKernel\Bundle\Bundle;
  9. use Symfony\Component\DependencyInjection\ContainerBuilder;
  10. use LogistSystemdBundle\DependencyInjection\LogistSystemdServicePass;
  11. use LogistSystemdBundle\DependencyInjection\LogistSystemdServiceFactoryPass;
  12. /**
  13.  * LogistSystemdBundle
  14.  * 
  15.  * @author Grigoriy Kulin <yarboroda@gmail.com>
  16.  */
  17. class LogistSystemdBundle extends Bundle
  18. {
  19.     /**
  20.      * @param ContainerBuilder $container
  21.      * @return void
  22.      */
  23.     public function build(ContainerBuilder $container)
  24.     {
  25.         $container->addCompilerPass(new LogistSystemdServicePass());
  26.         $container->addCompilerPass(new LogistSystemdServiceFactoryPass());
  27.     }
  28. }