1 | <?php |
||
13 | class DoctrineConnectionHealthIndicator extends AbstractHealthIndicator |
||
14 | { |
||
15 | /** |
||
16 | * @var Connection |
||
17 | */ |
||
18 | private $connection; |
||
19 | |||
20 | /** |
||
21 | * MemcacheHealthIndicator constructor. |
||
22 | * |
||
23 | * @param Connection $connection |
||
24 | */ |
||
25 | public function __construct(Connection $connection) |
||
31 | 6 | ||
32 | /** |
||
33 | * Actual health check logic. |
||
34 | * |
||
35 | * @param HealthBuilder $builder |
||
36 | * |
||
37 | * @throws \Exception any Exception that should create a Status::DOWN |
||
38 | * system status. |
||
39 | */ |
||
40 | 6 | protected function doHealthCheck(HealthBuilder $builder) |
|
52 | } |
||
53 |