Skip to content

Commit

Permalink
Simplify bundle config
Browse files Browse the repository at this point in the history
  • Loading branch information
parijke committed May 21, 2024
1 parent 208ea2b commit 0b1ad67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 47 deletions.
43 changes: 0 additions & 43 deletions src/DependencyInjection/OpenConextMonitorExtension.php

This file was deleted.

9 changes: 5 additions & 4 deletions src/OpenConextMonitorBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@

namespace OpenConext\MonitorBundle;

use OpenConext\MonitorBundle\DependencyInjection\Compiler\HealthCheckPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use Symfony\Component\HttpKernel\Bundle\AbstractBundle;

class OpenConextMonitorBundle extends Bundle
class OpenConextMonitorBundle extends AbstractBundle
{
public function build(ContainerBuilder $container): void
public function loadExtension(array $config, ContainerConfigurator $container, ContainerBuilder $builder): void
{
$container->import('../config/services.yml');
}
}

0 comments on commit 0b1ad67

Please sign in to comment.