Completed
Push — master ( 86783f...c67af0 )
by Florent
04:55
created

JWKManager::findJWK()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 9
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 1 Features 0
Metric Value
c 2
b 1
f 0
dl 0
loc 9
rs 9.6667
cc 3
eloc 5
nc 3
nop 1
1
<?php
2
3
/*
4
 * The MIT License (MIT)
5
 *
6
 * Copyright (c) 2014-2015 Spomky-Labs
7
 *
8
 * This software may be modified and distributed under the terms
9
 * of the MIT license.  See the LICENSE file for details.
10
 */
11
12
namespace Jose;
13
14
use Jose\Finder\JWKFinderInterface;
15
16
/**
17
 */
18
final class JWKManager implements JWKManagerInterface
19
{
20
    /**
21
     * {@inheritdoc}
22
     */
23
    public function createJWK(array $values = [])
24
    {
25
        $jwk = new JWK($values);
26
27
        return $jwk;
28
    }
29
}
30