File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Jaeger \Symfony ;
4+
5+ use Jaeger \Symfony \Resources \DependencyInjection \CodecRegistryCompilerPass ;
6+ use Jaeger \Symfony \Resources \DependencyInjection \ContextExtractorChainCompilerPass ;
7+ use Jaeger \Symfony \Resources \DependencyInjection \DebugExtractorChainCompilerPass ;
8+ use Jaeger \Symfony \Resources \DependencyInjection \JaegerExtension ;
9+ use Jaeger \Symfony \Resources \DependencyInjection \NameGeneratorChainCompilerPass ;
10+ use Symfony \Component \DependencyInjection \ContainerBuilder ;
11+ use Symfony \Component \HttpKernel \Bundle \Bundle ;
12+
13+ class JaegerBundle extends Bundle
14+ {
15+ public function build (ContainerBuilder $ container )
16+ {
17+ parent ::build ($ container );
18+
19+ $ container
20+ ->addCompilerPass (new CodecRegistryCompilerPass ())
21+ ->addCompilerPass (new ContextExtractorChainCompilerPass ())
22+ ->addCompilerPass (new DebugExtractorChainCompilerPass ())
23+ ->addCompilerPass (new NameGeneratorChainCompilerPass ());
24+ }
25+
26+
27+ public function getContainerExtension ()
28+ {
29+ return new JaegerExtension ();
30+ }
31+ }
You can’t perform that action at this time.
0 commit comments