kb / app /Console /WorkerCommand.php
Xv Zan
ULFS
e4f4821
raw
history blame contribute delete
589 Bytes
<?php
namespace Kanboard\Console;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
/**
* Class WorkerCommand
*
* @package Kanboard\Console
* @author Frederic Guillot
*/
class WorkerCommand extends BaseCommand
{
protected function configure()
{
$this
->setName('worker')
->setDescription('Execute queue worker')
;
}
protected function execute(InputInterface $input, OutputInterface $output): int
{
$this->queueManager->listen();
return 0;
}
}