Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
16 | class NotBeforeClaim extends RegisteredClaim |
||
17 | { |
||
18 | use NumericDateClaim; |
||
19 | use ReferenceTimeValidation; |
||
20 | |||
21 | /** |
||
22 | * Constructor. |
||
23 | * |
||
24 | * @param int $not_before Not before time as a unix timestamp |
||
25 | */ |
||
26 | 22 | public function __construct(int $not_before) |
|
31 | 22 | } |
|
32 | |||
33 | /** |
||
34 | * Initialize with time set to current time. |
||
35 | * |
||
36 | * @return self |
||
37 | */ |
||
38 | 1 | public static function now(): self |
|
43 |