Skip to content

Commit b0f2143

Browse files
committed
Updated example to have namespace.
1 parent 3260b1b commit b0f2143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $client->search([
4646
<?php
4747

4848
$client = new \Elasticsearch\Client();
49-
$indexRotator = new IndexRotator($client, 'pizza_shops');
49+
$indexRotator = new \Zumba\ElasticsearchRotator\IndexRotator($client, 'pizza_shops');
5050
// Build your index here
5151
$newlyBuiltIndexName = 'my_new_built_index_name';
5252
$indexRotator->copyPrimaryIndexToSecondary();

0 commit comments

Comments
 (0)