Send bootstrap event when starting worker

This commit is contained in:
Frederic Guillot
2016-07-31 10:11:55 -04:00
parent a939ffe61f
commit 92ac133d23

View File

@@ -23,6 +23,7 @@ class WorkerCommand extends BaseCommand
protected function execute(InputInterface $input, OutputInterface $output)
{
$this->dispatcher->dispatch('app.bootstrap');
$this->queueManager->listen();
}
}