| 1 | <?php |
||
| 10 | class IndexConfigurationRepository |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var array |
||
| 14 | */ |
||
| 15 | private $config; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param array $config |
||
| 19 | */ |
||
| 20 | public function __construct(array $config = array()) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Get client from his name |
||
| 27 | * |
||
| 28 | * @param string $clientId |
||
| 29 | * @param string $indexId |
||
| 30 | * |
||
| 31 | * @return Elasticsearch\Client |
||
| 32 | */ |
||
| 33 | public function get($clientId, $indexId) |
||
| 45 | } |