Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | public function createDefinition(ContainerBuilder $container, array $config): Definition |
||
32 | { |
||
33 | $definition = new Definition(JWK::class); |
||
34 | $definition->setFactory([ |
||
35 | new Reference(JWKFactory::class), |
||
36 | 'createFromKeySet', |
||
37 | ]); |
||
38 | $definition->setArguments([new Reference($config['key_set']), $config['index']]); |
||
39 | |||
40 | return $definition; |
||
41 | } |
||
42 | |||
69 |