1 | <?php |
||
14 | class PutIndexSettingsHandler |
||
15 | { |
||
16 | /** |
||
17 | * @var IndexConfigurationRepository |
||
18 | */ |
||
19 | private $configurationRepository; |
||
20 | |||
21 | /** |
||
22 | * @param IndexConfigurationRepository $configurationRepository |
||
23 | */ |
||
24 | public function __construct(IndexConfigurationRepository $configurationRepository) |
||
28 | |||
29 | /** |
||
30 | * Handle index creation command |
||
31 | * |
||
32 | * @param Client $client |
||
33 | * @param string $index |
||
34 | */ |
||
35 | public function handle($client, $index) |
||
53 | |||
54 | /** |
||
55 | * @return array |
||
56 | */ |
||
57 | private function extractSettings($config) |
||
65 | } |
||
66 |