vendor/shapecode/cron-bundle/src/ShapecodeCronBundle.php line 12

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Shapecode\Bundle\CronBundle;
  4. use Shapecode\Bundle\CronBundle\DependencyInjection\Compiler\CronJobCompilerPass;
  5. use Symfony\Component\DependencyInjection\Compiler\PassConfig;
  6. use Symfony\Component\DependencyInjection\ContainerBuilder;
  7. use Symfony\Component\HttpKernel\Bundle\Bundle;
  8. final class ShapecodeCronBundle extends Bundle
  9. {
  10.     public function build(ContainerBuilder $container) : void
  11.     {
  12.         parent::build($container);
  13.         $container->addCompilerPass(new CronJobCompilerPass(), PassConfig::TYPE_AFTER_REMOVING);
  14.     }
  15. }