| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 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 | 'createFromKeySet', |
||
| 31 | ]); |
||
| 32 | $definition->setArguments([new Reference($config['key_set']), $config['index']]); |
||
| 33 | |||
| 34 | return $definition; |
||
| 35 | } |
||
| 36 | |||
| 63 |