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