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