vendor/rewieer/taskschedulerbundle/RewieerTaskSchedulerBundle.php line 16

Open in your IDE?
  1. <?php
  2. /*
  3.  * (c) Antonny Cyrille <rewieer@gmail.com>
  4.  *
  5.  * For the full copyright and license information, please view the LICENSE
  6.  * file that was distributed with this source code.
  7.  */
  8. namespace Rewieer\TaskSchedulerBundle;
  9. use Rewieer\TaskSchedulerBundle\DependencyInjection\Compiler\EventDispatcherPass;
  10. use Rewieer\TaskSchedulerBundle\DependencyInjection\Compiler\TaskPass;
  11. use Symfony\Component\DependencyInjection\ContainerBuilder;
  12. use Symfony\Component\HttpKernel\Bundle\Bundle;
  13. class RewieerTaskSchedulerBundle extends Bundle
  14. {
  15.     public function build(ContainerBuilder $container): void
  16.     {
  17.         $container->addCompilerPass(new TaskPass());
  18.         $container->addCompilerPass(new EventDispatcherPass());
  19.     }
  20. }