Skip to content

Commit 62cb0cc

Browse files
committed
TDBM Bundle automatically register the code generator listeners
1 parent aeeda8b commit 62cb0cc

File tree

2 files changed

+0
-72
lines changed

2 files changed

+0
-72
lines changed

DependencyInjection/TheCodingMachineTdbmGraphqlCompilerPass.php

Lines changed: 0 additions & 63 deletions
This file was deleted.

TheCodingMachineTdbmGraphqlBundle.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,8 @@
33

44
namespace TheCodingMachine\Tdbm\Graphql\Bundle;
55

6-
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
7-
use Symfony\Component\DependencyInjection\ContainerBuilder;
86
use Symfony\Component\HttpKernel\Bundle\Bundle;
9-
use TheCodingMachine\Tdbm\Graphql\Bundle\DependencyInjection\TheCodingMachineTdbmGraphqlCompilerPass;
107

118
class TheCodingMachineTdbmGraphqlBundle extends Bundle
129
{
13-
public function build(ContainerBuilder $container)
14-
{
15-
parent::build($container);
16-
17-
$container->addCompilerPass(new TheCodingMachineTdbmGraphqlCompilerPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 1);
18-
}
1910
}

0 commit comments

Comments
 (0)