Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 75% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class Issuer implements IssuerInterface |
||
11 | { |
||
12 | /** @var IssuerMetadataInterface */ |
||
13 | private $metadata; |
||
14 | |||
15 | /** @var JWKSet */ |
||
16 | private $jwks; |
||
17 | |||
18 | /** |
||
19 | * Issuer constructor. |
||
20 | * |
||
21 | * @param IssuerMetadataInterface $metadata |
||
22 | * @param JWKSet $jwks |
||
23 | */ |
||
24 | 1 | public function __construct(IssuerMetadataInterface $metadata, JWKSet $jwks) |
|
25 | { |
||
26 | 1 | $this->metadata = $metadata; |
|
27 | 1 | $this->jwks = $jwks; |
|
28 | 1 | } |
|
29 | |||
30 | 1 | public function getMetadata(): IssuerMetadataInterface |
|
33 | } |
||
34 | |||
35 | /** |
||
36 | * @return JWKSet |
||
37 | */ |
||
38 | public function getJwks(): JWKSet |
||
41 | } |
||
42 | } |
||
43 |