Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
6 | class PockExecution implements ExecutionInterface |
||
7 | { |
||
8 | protected \DateTime $createdAt; |
||
9 | |||
10 | protected string $id; |
||
11 | |||
12 | public function __construct(\DateTime $createdAt) |
||
13 | { |
||
14 | $this->createdAt = $createdAt; |
||
15 | $this->id = (string) rand(1, 100000); |
||
16 | } |
||
17 | |||
18 | |||
19 | public function getId(): string |
||
22 | } |
||
23 | |||
24 | public function GetCreateTime(): \DateTime |
||
27 | } |
||
28 | } |