Total Complexity | 3 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
14 | final class UnmovingClock implements Clock |
||
15 | { |
||
16 | private $when; |
||
17 | |||
18 | private function __construct(DateTimeInterface $when) |
||
21 | } |
||
22 | |||
23 | public static function standingStillAt(DateTimeInterface $dateTime): Clock |
||
26 | } |
||
27 | |||
28 | public function now(): DateTimeInterface |
||
33 |