fix provider

This commit is contained in:
aynsix
2020-05-12 18:16:45 +03:00
parent bb2123df5a
commit c9970fcc24

View File

@@ -270,8 +270,10 @@ class Application extends SilexApplication
$this->register(new OrderServiceProvider());
$this->register(new WebhookServiceProvider());
$this->register(new QueueWorkerServiceProvider());
$this->register(new AlchemyWorkerServiceProvider());
if ($this['configuration.store']->isSetup()) {
$this->register(new QueueWorkerServiceProvider());
$this->register(new AlchemyWorkerServiceProvider());
}
$this['monolog'] = $this->share(
$this->extend('monolog', function (LoggerInterface $logger, Application $app) {