1 | <?php |
||
20 | class Dropbox extends Collector |
||
21 | { |
||
22 | /** |
||
23 | * @var DropboxApi |
||
24 | */ |
||
25 | protected $client; |
||
26 | |||
27 | /** |
||
28 | * OpenStack remote path |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $path; |
||
33 | |||
34 | /** |
||
35 | * OpenStack constructor. |
||
36 | * |
||
37 | * @param \phpbu\App\Backup\Target $target |
||
38 | * @param DropboxApi $client |
||
39 | * @param string $path |
||
40 | */ |
||
41 | 1 | public function __construct(Target $target, DropboxApi $client, string $path) |
|
47 | |||
48 | /** |
||
49 | * Get all created backups. |
||
50 | * |
||
51 | * @return \phpbu\App\Backup\File[] |
||
52 | */ |
||
53 | 1 | public function getBackupFiles() : array |
|
73 | } |
||
74 |