| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function register() |
||
| 23 | { |
||
| 24 | $this->mergeConfigFrom(__DIR__ . '/../config/actuator.php', 'actuator'); |
||
| 25 | |||
| 26 | $this->app->singleton(HealthContributorRegistry::class, static function () { |
||
| 27 | return (new HealthContributorRegistryBuilder())->build(); |
||
| 28 | }); |
||
| 29 | $this->app->singleton(HealthBuilder::class, static function ($app) { |
||
| 30 | return new HealthBuilder($app[HealthContributorRegistry::class]); |
||
| 31 | }); |
||
| 32 | } |
||
| 33 | } |
||
| 34 |