1 | <?php |
||
8 | class EncryptedTime |
||
9 | { |
||
10 | protected $carbon; |
||
11 | |||
12 | /** @var string */ |
||
13 | protected $encryptedTime; |
||
14 | |||
15 | public static function create(DateTimeInterface $dateTime) |
||
21 | |||
22 | public function __construct(string $encryptedTime) |
||
34 | |||
35 | public function isFuture(): bool |
||
39 | |||
40 | public function __toString() |
||
44 | |||
45 | private function isValidTimeStamp(string $timestamp): bool |
||
61 | } |
||
62 |