Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types = 1); |
||
15 | class BulkIndexDirtyJob extends AbstractQueuedJob |
||
16 | { |
||
17 | |||
18 | // variable $indexName cannot be declared here, because serialization of the job does not store this variable |
||
19 | |||
20 | public function getTitle(): string |
||
21 | { |
||
22 | return 'Bulk Index Dirty DataObjects'; |
||
23 | } |
||
24 | |||
25 | public function hyrdate($newIndexName) |
||
26 | { |
||
27 | $this->indexName = $newIndexName; |
||
|
|||
28 | } |
||
29 | |||
30 | public function setup(): void |
||
33 | } |
||
34 | |||
35 | public function process(): void |
||
41 | } |
||
42 | } |
||
43 |