Conditions | 1 |
Paths | 1 |
Total Lines | 33 |
Code Lines | 22 |
Lines | 0 |
Ratio | 0 % |
Tests | 26 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
15 | 1 | public function load(ContainerBuilder $container, array $config) |
|
16 | { |
||
17 | // KernelAware |
||
18 | 1 | $this->createService( |
|
19 | 1 | $container, |
|
20 | 1 | 'initializer.kernel_aware', |
|
21 | 1 | KernelHandlerAwareInitializer::class, |
|
22 | array( |
||
23 | 1 | new Reference($this->getContainerParamOrServiceId('handler.kernel')), |
|
24 | 1 | ), |
|
25 | 1 | array('context.initializer') |
|
26 | 1 | ); |
|
27 | // LoggerAware |
||
28 | 1 | $this->createService( |
|
29 | 1 | $container, |
|
30 | 1 | 'initializer.logger_aware', |
|
31 | 1 | LoggerAwareInitializer::class, |
|
32 | array( |
||
33 | 1 | new Reference($this->getContainerParamOrServiceId('logger')), |
|
34 | 1 | ), |
|
35 | 1 | array('context.initializer') |
|
36 | 1 | ); |
|
37 | // BehatSubscriber |
||
38 | 1 | $this->createService( |
|
39 | 1 | $container, |
|
40 | 1 | 'initializer.behat_subscriber', |
|
41 | 1 | BehatContextSubscriberInitializer::class, |
|
42 | array( |
||
43 | 1 | new Reference('event_dispatcher'), |
|
44 | 1 | ), |
|
45 | 1 | array('context.initializer') |
|
46 | 1 | ); |
|
47 | 1 | } |
|
48 | } |
||
49 |