vendor/php-task/task-bundle/src/TaskBundle.php line 12

Open in your IDE?
  1. <?php
  2. namespace Task\TaskBundle;
  3. use Symfony\Component\DependencyInjection\ContainerBuilder;
  4. use Symfony\Component\HttpKernel\Bundle\Bundle;
  5. use Task\TaskBundle\DependencyInjection\HandlerCompilerPass;
  6. /**
  7.  * Integrates php-task into symfony.
  8.  */
  9. class TaskBundle extends Bundle
  10. {
  11.     public function build(ContainerBuilder $container)
  12.     {
  13.         parent::build($container);
  14.         $container->addCompilerPass(new HandlerCompilerPass());
  15.     }
  16. }