| Conditions | 3 | 
| Paths | 2 | 
| Total Lines | 12 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 36 | public function createJWKSet(array $values = []) | ||
| 37 |     { | ||
| 38 | $key_set = new JWKSet(); | ||
| 39 |         if (array_key_exists('keys', $values)) { | ||
| 40 |             foreach ($values['keys'] as $value) { | ||
| 41 | $key = $this->getJWKManager()->createJWK($value); | ||
| 42 | $key_set = $key_set->addKey($key); | ||
| 43 | } | ||
| 44 | } | ||
| 45 | |||
| 46 | return $key_set; | ||
| 47 | } | ||
| 48 | } | ||
| 49 |