feature/cierres (#25)
Varios cambios Co-authored-by: Juan Pablo Vial <jpvialb@incoviba.cl> Reviewed-on: #25
This commit is contained in:
@ -11,5 +11,21 @@ return [
|
||||
$container->get(Psr\Log\LoggerInterface::class),
|
||||
$container->get('commands')
|
||||
);
|
||||
},
|
||||
Incoviba\Command\BaseLoop::class => function(ContainerInterface $container) {
|
||||
return new Incoviba\Command\BaseLoop(
|
||||
$container->get('LoopLogger'),
|
||||
$container->get(Incoviba\Service\Schedule::class),
|
||||
$container->get(DateTimeZone::class),
|
||||
$container->get('loopFrequency'),
|
||||
);
|
||||
},
|
||||
Incoviba\Command\Queue::class => function(ContainerInterface $container) {
|
||||
return new Incoviba\Command\Queue(
|
||||
$container->get(Psr\Http\Client\ClientInterface::class),
|
||||
$container->get('QueueLogger'),
|
||||
$container->get(Incoviba\Service\Job::class),
|
||||
$container->get(DateTimeZone::class)
|
||||
);
|
||||
}
|
||||
];
|
||||
|
Reference in New Issue
Block a user