Optimized connection to db
This commit is contained in:
@ -3,6 +3,10 @@ use Psr\Container\ContainerInterface;
|
||||
|
||||
return [
|
||||
ProVM\Command\Watch::class => function(ContainerInterface $container) {
|
||||
return new ProVM\Command\Watch($container->get('period'));
|
||||
}
|
||||
return new ProVM\Command\Watch(
|
||||
$container->get('command'),
|
||||
$container->get('period'),
|
||||
$container->get(Psr\Log\LoggerInterface::class)
|
||||
);
|
||||
},
|
||||
];
|
||||
|
Reference in New Issue
Block a user