Conditions | 2 |
Paths | 2 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
37 | public function load(array $configs, ContainerBuilder $container) { |
||
38 | |||
39 | $fileLocator = new FileLocator(__DIR__ . "/../Resources/config"); |
||
40 | |||
41 | $serviceLoader = new YamlFileLoader($container, $fileLocator); |
||
42 | $serviceLoader->load("services.yml"); |
||
43 | |||
44 | /** @var ConfigurationInterface $configuration */ |
||
45 | $configuration = $this->getConfiguration($configs, $container); |
||
46 | |||
47 | $config = $this->processConfiguration($configuration, $configs); |
||
48 | |||
49 | if (true === $config["event_listeners"]) { |
||
50 | $serviceLoader->load("event_listeners.yml"); |
||
51 | } |
||
52 | } |
||
53 | } |
||
54 |