Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function createDefinition(ContainerBuilder $container, array $config): Definition |
||
26 | { |
||
27 | $definition = new Definition(\Jose\Component\Core\JWK::class); |
||
28 | $definition->setFactory([ |
||
29 | new Reference(JWKFactory::class), |
||
30 | 'createFromJsonObject', |
||
31 | ]); |
||
32 | $definition->setArguments([ |
||
33 | $config['value'], |
||
34 | ]); |
||
35 | $definition->addTag('jose.jwk'); |
||
36 | |||
37 | return $definition; |
||
38 | } |
||
39 | |||
58 |