Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
4 / 4 |
|
100.00% |
3 / 3 |
CRAP | |
100.00% |
1 / 1 |
DecryptionKey | |
100.00% |
4 / 4 |
|
100.00% |
3 / 3 |
3 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
getKey | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
getAlgorithm | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | |
3 | namespace Fingerprint\ServerAPI\Sealed; |
4 | |
5 | class DecryptionKey |
6 | { |
7 | private $key; |
8 | private $algorithm; |
9 | |
10 | public function __construct($key, $algorithm) |
11 | { |
12 | $this->key = $key; |
13 | $this->algorithm = $algorithm; |
14 | } |
15 | |
16 | public function getKey() |
17 | { |
18 | return $this->key; |
19 | } |
20 | |
21 | public function getAlgorithm() |
22 | { |
23 | return $this->algorithm; |
24 | } |
25 | } |