Conditions | 2 |
Paths | 2 |
Total Lines | 16 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
42 | private function loadResources(ContainerBuilder $container): void |
||
43 | { |
||
44 | $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
45 | |||
46 | $resources = [ |
||
47 | 'builder', |
||
48 | 'command', |
||
49 | 'config', |
||
50 | 'form', |
||
51 | 'installer', |
||
52 | 'renderer', |
||
53 | 'twig', |
||
54 | ]; |
||
55 | |||
56 | foreach ($resources as $resource) { |
||
57 | $loader->load($resource.'.xml'); |
||
58 | } |
||
66 |