| Total Complexity | 6 |
| Total Lines | 57 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class ElasticSearch extends BaseCheck implements HealthCheckInterface |
||
| 12 | { |
||
| 13 | |||
| 14 | use HttpClientTrait; |
||
| 15 | |||
| 16 | const DEFAULT_URL = "http://localhost:9200"; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * |
||
| 20 | * {@inheritdoc} |
||
| 21 | * @see \Health\Checks\HealthCheckInterface::call() |
||
| 22 | */ |
||
| 23 | public function call() |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Get Cluster Health Uri |
||
| 59 | * |
||
| 60 | * @return string |
||
| 61 | */ |
||
| 62 | private function getUri() |
||
| 70 |