| 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 | |||
| 14 | /** @var string response status */ | ||
| 15 | private $status; | ||
| 16 | |||
| 17 | /** | ||
| 18 | * Fields expected in response | ||
| 19 | */ | ||
| 20 | public function getFields(): array | ||
| 24 | ]; | ||
| 25 | } | ||
| 26 | |||
| 27 | /** | ||
| 28 | * Set status | ||
| 29 | */ | ||
| 30 | public function setStatus(string $status): void | ||
| 31 |     { | ||
| 32 | $this->status = $status; | ||
| 33 | } | ||
| 34 | |||
| 35 | /** | ||
| 36 | * Get status | ||
| 37 | */ | ||
| 38 | public function getStatus(): string | ||
| 41 | } | ||
| 42 | } | ||
| 43 |