| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function load(array $configs, ContainerBuilder $container): void |
||
| 31 | { |
||
| 32 | $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
| 33 | $loader->load('services.yml'); |
||
| 34 | |||
| 35 | $configuration = new Configuration(); |
||
| 36 | $config = $this->processConfiguration($configuration, $configs); |
||
| 37 | |||
| 38 | $container->setParameter('firebase_cloud_messaging.sender_id', $config['sender_id']); |
||
| 39 | $container->setParameter('firebase_cloud_messaging.server_key', $config['server_key']); |
||
| 40 | $container->setParameter('firebase_cloud_messaging.endpoint', $config['endpoint']); |
||
| 41 | $container->setParameter('firebase_cloud_messaging.guzzle_timeout', $config['guzzle_timeout']); |
||
| 42 | } |
||
| 43 | } |
||
| 44 |