Queue
This commit is contained in:
17
app/src/Service/Worker/Dummy.php
Normal file
17
app/src/Service/Worker/Dummy.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
namespace Incoviba\Service\Worker;
|
||||
|
||||
use Incoviba\Common\Ideal;
|
||||
use Incoviba\Model;
|
||||
use Incoviba\Service;
|
||||
|
||||
class Dummy extends Ideal\Service implements Service\Worker
|
||||
{
|
||||
|
||||
public function execute(Model\Job $job): bool
|
||||
{
|
||||
$configuration = $job->configuration;
|
||||
$this->logger->info('Dummy worker executed', ['configuration' => $configuration]);
|
||||
return true;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user