1 | <?php |
||
5 | class UploadResponse |
||
6 | { |
||
7 | /** |
||
8 | * @var UploadRequest |
||
9 | */ |
||
10 | protected $request; |
||
11 | |||
12 | /** |
||
13 | * Original response from storage provider |
||
14 | * |
||
15 | * @var mixed |
||
16 | */ |
||
17 | protected $original; |
||
18 | |||
19 | /** |
||
20 | * @var bool |
||
21 | */ |
||
22 | protected $async = false; |
||
23 | |||
24 | /** |
||
25 | * @var int |
||
26 | */ |
||
27 | protected $statusChecks = 0; |
||
28 | |||
29 | public function __construct( UploadRequest $request, $original, $async = false ) |
||
35 | |||
36 | /** |
||
37 | * @return bool |
||
38 | */ |
||
39 | public function isAsync() |
||
43 | |||
44 | /** |
||
45 | * |
||
46 | */ |
||
47 | public function incrementStatusCheck() |
||
51 | |||
52 | /** |
||
53 | * @return int |
||
54 | */ |
||
55 | public function getStatusChecks() |
||
59 | |||
60 | /** |
||
61 | * @return UploadRequest |
||
62 | */ |
||
63 | public function getRequest() |
||
67 | |||
68 | /** |
||
69 | * @return mixed |
||
70 | */ |
||
71 | public function getOriginal() |
||
75 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.