We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bfb3f2 commit e83bde5Copy full SHA for e83bde5
2 files changed
src/HealthCheck/HealthCheckChain.php
@@ -27,7 +27,7 @@
27
class HealthCheckChain
28
{
29
public function __construct(
30
- #[AutowireIterator(HealthCheckInterface::class)]
+ #[AutowireIterator(tag: 'surfnet.monitor.health_check')]
31
private readonly iterable $healthChecks
32
) {
33
}
src/HealthCheck/HealthCheckInterface.php
@@ -23,7 +23,7 @@
23
/**
24
* Contract for a HealthCheck.
25
*/
26
-#[AutoconfigureTag()]
+#[AutoconfigureTag('surfnet.monitor.health_check')]
interface HealthCheckInterface
public function check(HealthReportInterface $report): HealthReportInterface;
0 commit comments