1 | <?php |
||
9 | class RequestBodyStream implements RequestBodyInterface |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * File to be sent with the Request |
||
14 | * |
||
15 | * @var \Kunnu\Dropbox\DropboxFile |
||
16 | */ |
||
17 | protected $file; |
||
18 | |||
19 | /** |
||
20 | * Create a new RequestBodyStream instance |
||
21 | * |
||
22 | * @param \Kunnu\Dropbox\DropboxFile $file |
||
23 | */ |
||
24 | 7 | public function __construct(DropboxFile $file) |
|
28 | |||
29 | /** |
||
30 | * Get the Body of the Request |
||
31 | * |
||
32 | * @return string |
||
33 | */ |
||
34 | 7 | public function getBody() |
|
38 | } |
||
39 |