1 | <?php |
||
4 | class DropboxResponseToFile extends DropboxResponse |
||
5 | { |
||
6 | /** |
||
7 | * @var DropboxFile |
||
8 | */ |
||
9 | protected $file; |
||
10 | |||
11 | /** |
||
12 | * Create a new DropboxResponse instance |
||
13 | * |
||
14 | * @param DropboxRequest $request |
||
15 | * @param DropboxFile $file |
||
16 | * @param int|null $httpStatusCode |
||
17 | * @param array $headers |
||
18 | */ |
||
19 | public function __construct(DropboxRequest $request, DropboxFile $file, $httpStatusCode = null, array $headers = []) |
||
24 | |||
25 | public function getBody() |
||
29 | |||
30 | public function getFilePath() |
||
34 | |||
35 | public function getSteamOrFilePath() |
||
39 | } |
||
40 |