Total Complexity | 5 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class WebarchiveDTO |
||
15 | { |
||
16 | public function __construct( |
||
17 | protected string $archiver, |
||
18 | protected string $originalUrl, |
||
19 | protected string $archiveUrl, |
||
20 | protected ?DateTimeImmutable $archiveDate |
||
21 | ) |
||
22 | { |
||
23 | } |
||
24 | |||
25 | public function getArchiver(): string |
||
26 | { |
||
27 | return $this->archiver; |
||
28 | } |
||
29 | |||
30 | public function getOriginalUrl(): string |
||
33 | } |
||
34 | |||
35 | public function getArchiveUrl(): string |
||
38 | } |
||
39 | |||
40 | public function getArchiveDate(): ?DateTimeImmutable |
||
43 | } |
||
44 | } |