From 92ac133d23cf3447412a6e69f68f2bc2e64ce9cd Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 31 Jul 2016 10:11:55 -0400 Subject: Send bootstrap event when starting worker --- app/Console/WorkerCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Console/WorkerCommand.php b/app/Console/WorkerCommand.php index e332624b..86727a60 100644 --- a/app/Console/WorkerCommand.php +++ b/app/Console/WorkerCommand.php @@ -23,6 +23,7 @@ class WorkerCommand extends BaseCommand protected function execute(InputInterface $input, OutputInterface $output) { + $this->dispatcher->dispatch('app.bootstrap'); $this->queueManager->listen(); } } -- cgit v1.2.3