for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace tests\app\jobs;
use yii\base\BaseObject;
use yii\queue\JobInterface;
/**
* Simple Job
*/
class SimpleJob extends BaseObject implements JobInterface
{
* @var int number of seconds to execute the job.
public $timeout = 10;
* @inheritdoc
public function execute($queue)
sleep($this->timeout);
}