Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | 2 | public function resolve(DependencyResolverInterface $container) |
|
30 | { |
||
31 | 2 | $service = (Normalizer::normalize($this->definition))->resolve($container); |
|
32 | 2 | $containerInterface = $container->get(ContainerInterface::class); |
|
33 | 2 | foreach ($this->extensions as $extension) { |
|
34 | 2 | $service = $extension($containerInterface, $service); |
|
35 | } |
||
36 | |||
37 | 2 | return $service; |
|
38 | } |
||
40 |