1 | <?php |
||
8 | class Dropbox extends Collector |
||
9 | { |
||
10 | /** |
||
11 | * @var DropboxApi |
||
12 | */ |
||
13 | protected $client; |
||
14 | |||
15 | /** |
||
16 | * OpenStack remote path |
||
17 | * |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $path; |
||
21 | |||
22 | /** |
||
23 | * OpenStack constructor. |
||
24 | * |
||
25 | * @param \phpbu\App\Backup\Target $target |
||
26 | * @param DropboxApi $client |
||
27 | * @param string $path |
||
28 | */ |
||
29 | 1 | public function __construct(Target $target, DropboxApi $client, string $path) |
|
35 | |||
36 | /** |
||
37 | * Get all created backups. |
||
38 | * |
||
39 | * @return \phpbu\App\Backup\File[] |
||
40 | */ |
||
41 | 1 | public function getBackupFiles(): array |
|
61 | } |