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:
15
src/Queue/Console/ListenCommand.php
Normal file
15
src/Queue/Console/ListenCommand.php
Normal 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');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user