Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class UploadStatusResult implements ResultInterface |
||
10 | { |
||
11 | |||
12 | const STATUS_UPLOADED = 'uploaded'; |
||
13 | const STATUS_PENDING = 'pending'; |
||
14 | |||
15 | /** @var string response status */ |
||
16 | private $status; |
||
17 | |||
18 | /** |
||
19 | * Fields expected in response |
||
20 | */ |
||
21 | public function getFields(): array |
||
25 | ]; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Set status |
||
30 | */ |
||
31 | public function setStatus(string $status): void |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Get status |
||
38 | */ |
||
39 | public function getStatus(): string |
||
40 | { |
||
41 | return $this->status; |
||
44 |