Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
24 | 2 | public function handleDependencies(DependencyContainerInterface $container): DependencyContainerInterface |
|
25 | { |
||
26 | $container[self::PATH_PROVIDER_COLLECTION] = function () { |
||
27 | 2 | return new PathCollection( |
|
28 | 2 | $this->getPathProviderList() |
|
29 | ); |
||
30 | }; |
||
31 | |||
32 | $container[self::TWIG_EXTENSIONS] = function () { |
||
33 | 2 | return new TwigExtensionCollection( |
|
34 | 2 | $this->getTwigExtensions() |
|
35 | ); |
||
36 | }; |
||
37 | |||
38 | 2 | return $container; |
|
39 | } |
||
58 | } |