for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Flipbox Factory
* @copyright Copyright (c) 2017, Flipbox Digital
* @link https://github.com/flipbox/queue/releases/latest
* @license https://github.com/flipbox/queue/blob/master/LICENSE
*/
namespace flipbox\queue\queues;
use flipbox\queue\jobs\JobInterface;
* @author Flipbox Factory <[email protected]>
* @since 1.0.0
class Dummy extends AbstractQueue
{
* @inheritdoc
protected function postJob(JobInterface $job, array $options = []): bool
$this->run($job);
return true;
}
protected function fetchJob()
return false;
protected function deleteJob(JobInterface $job): bool
protected function releaseJob(JobInterface $job): bool
public function getSize(): int
return 0;
public function purge(): bool