@@ 188-192 (lines=5) @@ | ||
185 | 'name' => $name, |
|
186 | ]); |
|
187 | ||
188 | if (isset($index['client'])) { |
|
189 | $client = $this->getClient($index['client']); |
|
190 | ||
191 | $indexDef->setFactory([$client, 'getIndex']); |
|
192 | } |
|
193 | ||
194 | $container->setDefinition($indexId, $indexDef); |
|
195 | $reference = new Reference($indexId); |
|
@@ 251-254 (lines=4) @@ | ||
248 | 'name' => $name, |
|
249 | ]); |
|
250 | ||
251 | if (isset($indexTemplate['client'])) { |
|
252 | $client = $this->getClient($indexTemplate['client']); |
|
253 | $indexDef->setFactory([$client, 'getIndexTemplate']); |
|
254 | } |
|
255 | ||
256 | $container->setDefinition($indexId, $indexDef); |
|
257 | $reference = new Reference($indexId); |