File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Algolia \AlgoliaSearch \Console \Command ;
4
+
5
+ class ReplicaRebuildCommand extends AbstractReplicaCommand
6
+ {
7
+ protected function getReplicaCommandName (): string
8
+ {
9
+ return 'rebuild ' ;
10
+ }
11
+
12
+ protected function getCommandDescription (): string {
13
+ return 'Rebuild replica configuration for Magento sorting attributes ' ;
14
+ }
15
+
16
+ protected function getStoreArgumentDescription (): string
17
+ {
18
+ return 'ID(s) for store(s) to rebuild replicas ' ;
19
+ }
20
+
21
+ protected function getAdditionalDefinition (): array
22
+ {
23
+ return [];
24
+ }
25
+
26
+ }
Original file line number Diff line number Diff line change 149
149
<argument name =" commands" xsi : type =" array" >
150
150
<item name =" replica_sync_command" xsi : type =" object" >Algolia\AlgoliaSearch\Console\Command\ReplicaSyncCommand</item >
151
151
<item name =" replica_delete_command" xsi : type =" object" >Algolia\AlgoliaSearch\Console\Command\ReplicaDeleteCommand</item >
152
+ <item name =" replica_rebuild_command" xsi : type =" object" >Algolia\AlgoliaSearch\Console\Command\ReplicaRebuildCommand</item >
152
153
</argument >
153
154
</arguments >
154
155
</type >
You can’t perform that action at this time.
0 commit comments