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.   public function build(ContainerBuilder $container) {
  15.     $container->addCompilerPass(new TaskPass());
  16.     $container->addCompilerPass(new EventDispatcherPass());
  17.   }
  18. }