Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | class PBES2CountParameter extends JWTParameter |
||
15 | { |
||
16 | /** |
||
17 | * Constructor. |
||
18 | * |
||
19 | * @param int $count |
||
20 | */ |
||
21 | 10 | public function __construct(int $count) |
|
22 | { |
||
23 | 10 | parent::__construct(self::PARAM_PBES2_COUNT, $count); |
|
24 | 10 | } |
|
25 | |||
26 | /** |
||
27 | * Initialize from a JSON value. |
||
28 | * |
||
29 | * @param int $value |
||
30 | * |
||
31 | * @return self |
||
32 | */ |
||
33 | 3 | public static function fromJSONValue($value): Parameter |
|
36 | } |
||
37 | } |
||
38 |