1 | <?php |
||
18 | class Dummy extends AbstractQueue |
||
19 | { |
||
20 | /** |
||
21 | * @inheritdoc |
||
22 | */ |
||
23 | protected function postJob(JobInterface $job, array $options = []): bool |
||
24 | { |
||
25 | $this->run($job); |
||
26 | return true; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @inheritdoc |
||
31 | */ |
||
32 | protected function fetchJob() |
||
36 | |||
37 | /** |
||
38 | * @inheritdoc |
||
39 | */ |
||
40 | protected function deleteJob(JobInterface $job): bool |
||
44 | |||
45 | /** |
||
46 | * @inheritdoc |
||
47 | */ |
||
48 | protected function releaseJob(JobInterface $job): bool |
||
52 | |||
53 | /** |
||
54 | * @inheritdoc |
||
55 | */ |
||
56 | public function getSize(): int |
||
60 | |||
61 | /** |
||
62 | * @inheritdoc |
||
63 | */ |
||
64 | public function purge(): bool |
||
68 | } |
||
69 |