File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88use Frosh \Tools \Components \Health \HealthCollection ;
99use Frosh \Tools \Components \Health \PerformanceCollection ;
1010use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
11- use Symfony \Component \DependencyInjection \Attribute \TaggedIterator ;
11+ use Symfony \Component \DependencyInjection \Attribute \AutowireIterator ;
1212use Symfony \Component \HttpFoundation \JsonResponse ;
1313use Symfony \Component \Routing \Attribute \Route ;
1414
@@ -20,9 +20,9 @@ class HealthController extends AbstractController
2020 * @param CheckerInterface[] $performanceCheckers
2121 */
2222 public function __construct (
23- #[TaggedIterator ('frosh_tools.health_checker ' )]
23+ #[AutowireIterator ('frosh_tools.health_checker ' )]
2424 private readonly iterable $ healthCheckers ,
25- #[TaggedIterator ('frosh_tools.performance_checker ' )]
25+ #[AutowireIterator ('frosh_tools.performance_checker ' )]
2626 private readonly iterable $ performanceCheckers ,
2727 ) {}
2828
You can’t perform that action at this time.
0 commit comments