Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function load(array $configs, ContainerBuilder $container) |
||
27 | { |
||
28 | $configuration = new Configuration(); |
||
29 | $config = $this->processConfiguration($configuration, $configs); |
||
30 | |||
31 | $container->setParameter('cms_kernel_bengor_file_bridge.config', $config); |
||
32 | |||
33 | $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config/services')); |
||
34 | $loader->load('routing.yml'); |
||
35 | |||
36 | |||
37 | $container->setDefinition( |
||
38 | 'cms_kernel_bengor_file_bridge.form.type.file', |
||
39 | (new Definition(FileType::class))->addTag('form.type') |
||
40 | ); |
||
41 | } |
||
42 | } |
||
43 |