| Total Complexity | 4 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | 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 |
||
| 23 | } |
||
| 24 | |||
| 25 | |||
| 26 | /** @param string $newIndexName the name of the index */ |
||
| 27 | public function hydrate(string $newIndexName): void |
||
| 28 | { |
||
| 29 | // @phpstan-ignore-next-line |
||
| 30 | $this->indexName = $newIndexName; |
||
|
|
|||
| 31 | } |
||
| 32 | |||
| 33 | |||
| 34 | public function setup(): void |
||
| 37 | } |
||
| 38 | |||
| 39 | |||
| 40 | public function process(): void |
||
| 48 | } |
||
| 49 | } |
||
| 50 |