Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | */ |
||
25 | public function createDefinition(ContainerBuilder $container, array $config) |
||
26 | { |
||
27 | $definition = new Definition('Jose\Object\JWK'); |
||
28 | $definition->setFactory([ |
||
29 | new Reference('jose.factory.jwk'), |
||
30 | 'createFromKeyFile', |
||
31 | ]); |
||
32 | $definition->setArguments([ |
||
33 | $config['path'], |
||
34 | $config['password'], |
||
35 | $config['additional_values'], |
||
36 | ]); |
||
37 | |||
38 | return $definition; |
||
39 | } |
||
40 | |||
67 |