| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | trait Time |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var \DateTimeImmutable|null |
||
| 9 | */ |
||
| 10 | private $dateTimeImmutable = null; |
||
| 11 | |||
| 12 | public function setDateTimeImmutable(\DateTimeImmutable $dateTimeImmutable): void |
||
| 15 | } |
||
| 16 | |||
| 17 | public function getTimeStamp() : int |
||
| 20 | } |
||
| 21 | |||
| 22 | private function getNewDateTimeImmutable(): \DateTimeImmutable |
||
| 32 |