1 | <?php |
||
9 | class EncryptedTime |
||
10 | { |
||
11 | protected $carbon; |
||
12 | |||
13 | /** @var string */ |
||
14 | protected $encryptedTime; |
||
15 | |||
16 | public static function create(DateTimeInterface $dateTime) |
||
22 | |||
23 | public function __construct(string $encryptedTime) |
||
35 | |||
36 | public function isFuture(): bool |
||
40 | |||
41 | public function __toString() |
||
45 | |||
46 | private function isValidTimeStamp(string $timestamp) |
||
52 | } |
||
53 |