Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class ResponseDownload extends Response |
||
8 | { |
||
9 | private string $downloadStatus = "All downloaded"; |
||
10 | |||
11 | /** |
||
12 | * Get download status |
||
13 | * @return string |
||
14 | */ |
||
15 | public function getDownloadStatus(): string |
||
16 | { |
||
17 | return $this->downloadStatus; |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * Set download status |
||
22 | * @param string $downloadStatus |
||
23 | * @return ResponseDownload |
||
24 | */ |
||
25 | public function setDownloadStatus(string $downloadStatus): ResponseDownload |
||
29 | } |
||
30 | } |