Total Complexity | 7 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | final class Message |
||
17 | { |
||
18 | public function __construct( |
||
19 | private readonly string $fileName, |
||
20 | private readonly string $filePath, |
||
21 | private readonly int $currentIteration, |
||
22 | private readonly int $totalIteration, |
||
23 | private readonly mixed $data = null, |
||
24 | private readonly ?string $archiveFilePath = null, |
||
25 | ) { |
||
26 | } |
||
27 | |||
28 | public function getFileName(): string |
||
29 | { |
||
30 | return $this->fileName; |
||
31 | } |
||
32 | |||
33 | public function getFilePath(): string |
||
34 | { |
||
35 | return $this->filePath; |
||
36 | } |
||
37 | |||
38 | public function getCurrentIteration(): int |
||
39 | { |
||
40 | return $this->currentIteration; |
||
41 | } |
||
42 | |||
43 | public function getTotalIteration(): int |
||
44 | { |
||
45 | return $this->totalIteration; |
||
46 | } |
||
47 | |||
48 | public function getData(): mixed |
||
51 | } |
||
52 | |||
53 | public function getArchiveFilePath(): ?string |
||
56 | } |
||
57 | } |
||
58 |