Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function load(array $configs, ContainerBuilder $container): void |
||
31 | { |
||
32 | $configuration = new Configuration(); |
||
33 | $config = $this->processConfiguration($configuration, $configs); |
||
34 | |||
35 | $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
36 | $loader->load('services.yaml'); |
||
37 | |||
38 | $container->setParameter('stfalcon_api.json_schema_dir', $config['json_schema_dir']); |
||
39 | $container->registerForAutoconfiguration(CustomAppExceptionResponseProcessorInterface::class)->addTag('stfalcon_api.exception_response_processor'); |
||
40 | } |
||
41 | } |
||
42 |