Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
26 | class FileThatWasImported |
||
27 | { |
||
28 | /** @var string */ |
||
29 | private $filename; |
||
30 | |||
31 | /** @var string */ |
||
32 | private $checksum; |
||
33 | |||
34 | /** @var \DateTimeImmutable */ |
||
35 | private $datetime; |
||
36 | |||
37 | public function __construct(string $filename, string $checksum, \DateTimeImmutable $datetime) |
||
38 | { |
||
39 | $this->filename = $filename; |
||
40 | $this->checksum = $checksum; |
||
41 | $this->datetime = $datetime; |
||
42 | } |
||
43 | |||
44 | public function getFilename(): string |
||
47 | } |
||
48 | |||
49 | public function getChecksum(): string |
||
50 | { |
||
51 | return $this->checksum; |
||
52 | } |
||
53 | |||
54 | public function getDatetime(): \DateTimeImmutable |
||
57 | } |
||
58 | } |
||
59 |