1
0
mirror of https://github.com/flarum/core.git synced 2025-10-18 10:16:09 +02:00

Fixes the queue listen command. We might need to rectify this implementation before stable.

This commit is contained in:
Daniël Klabbers
2019-09-11 11:42:52 +02:00
parent 6196081bdf
commit e2ec52c28c
3 changed files with 35 additions and 3 deletions

View File

@@ -0,0 +1,15 @@
<?php
namespace Flarum\Queue\Console;
use Illuminate\Queue\Listener;
class ListenCommand extends \Illuminate\Queue\Console\ListenCommand
{
public function __construct(Listener $listener)
{
parent::__construct($listener);
$this->addOption('env');
}
}