1 | <?php |
||
23 | class SyncReindexRunner implements SyncReindexRunnerInterface |
||
24 | { |
||
25 | /** |
||
26 | * @var ReindexFailureAggregateException |
||
27 | */ |
||
28 | private $reindexFailureAggregateException; |
||
29 | |||
30 | /** |
||
31 | * @var IndexerRegistry |
||
32 | */ |
||
33 | private $indexerRegistry; |
||
34 | |||
35 | /** |
||
36 | * ReindexRunner constructor. |
||
37 | * @param IndexerRegistry $indexerRegistry |
||
38 | */ |
||
39 | public function __construct( |
||
44 | |||
45 | /** |
||
46 | * {@inheritDoc} |
||
47 | */ |
||
48 | public function run(string ...$indexerIds): void |
||
70 | |||
71 | /** |
||
72 | * @return void |
||
73 | */ |
||
74 | private function addReindexFailureException(): void |
||
82 | |||
83 | /** |
||
84 | * @throws ReindexFailureAggregateException |
||
85 | * @return void |
||
86 | */ |
||
87 | private function handleExceptions(): void |
||
93 | } |
||
94 |