Skip to content

Commit eeb6393

Browse files
Removing sidus/base-bundle dependency
1 parent ae35723 commit eeb6393

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

DependencyInjection/CleverAgeDoctrineProcessExtension.php

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,30 @@
1010

1111
namespace CleverAge\DoctrineProcessBundle\DependencyInjection;
1212

13-
use Sidus\BaseBundle\DependencyInjection\SidusBaseExtension;
13+
use Symfony\Component\Config\FileLocator;
14+
use Symfony\Component\DependencyInjection\ContainerBuilder;
15+
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
16+
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
1417

1518
/**
1619
* This is the class that loads and manages your bundle configuration.
1720
*
18-
* @see http://symfony.com/doc/current/cookbook/bundles/extension.html
21+
* @see http://symfony.com/doc/current/cookbook/bundles/extension.html
1922
*
2023
* @author Valentin Clavreul <[email protected]>
2124
* @author Vincent Chalnot <[email protected]>
2225
* @author Madeline Veyrenc <[email protected]>
2326
*/
24-
class CleverAgeDoctrineProcessExtension extends SidusBaseExtension
27+
class CleverAgeDoctrineProcessExtension extends Extension
2528
{
29+
/**
30+
* {@inheritdoc}
31+
*
32+
* @throws \Exception
33+
*/
34+
public function load(array $configs, ContainerBuilder $container)
35+
{
36+
$loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
37+
$loader->load('services.yaml');
38+
}
2639
}

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
"require": {
4141
"cleverage/process-bundle": "3.*|dev-v3.0-dev",
4242
"doctrine/orm": "~2.5",
43-
"doctrine/doctrine-bundle": "~1.6|~2.0",
44-
"sidus/base-bundle": "~1.0"
43+
"doctrine/doctrine-bundle": "~1.6|~2.0"
4544
},
4645
"require-dev": {
4746
"phpunit/phpunit": "~6.4"

0 commit comments

Comments
 (0)