| Total Complexity | 7 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 85.71% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | final class Message |
||
| 17 | { |
||
| 18 | 6 | 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 | 6 | } |
|
| 27 | |||
| 28 | 1 | public function getFileName(): string |
|
| 29 | { |
||
| 30 | 1 | return $this->fileName; |
|
| 31 | } |
||
| 32 | |||
| 33 | 1 | public function getFilePath(): string |
|
| 34 | { |
||
| 35 | 1 | return $this->filePath; |
|
| 36 | } |
||
| 37 | |||
| 38 | 2 | public function getCurrentIteration(): int |
|
| 39 | { |
||
| 40 | 2 | return $this->currentIteration; |
|
| 41 | } |
||
| 42 | |||
| 43 | 3 | public function getTotalIteration(): int |
|
| 44 | { |
||
| 45 | 3 | return $this->totalIteration; |
|
| 46 | } |
||
| 47 | |||
| 48 | 2 | public function getData(): mixed |
|
| 51 | } |
||
| 52 | |||
| 53 | public function getArchiveFilePath(): ?string |
||
| 56 | } |
||
| 57 | } |
||
| 58 |