1 | <?php |
||
9 | class OpenStack extends Collector |
||
10 | { |
||
11 | /** |
||
12 | * @var Container |
||
13 | */ |
||
14 | protected $container; |
||
15 | |||
16 | /** |
||
17 | * Path where to search for backup files |
||
18 | * |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $path; |
||
22 | |||
23 | /** |
||
24 | * OpenStack constructor. |
||
25 | * |
||
26 | * @param \phpbu\App\Backup\Target $target |
||
27 | * @param Container $container |
||
28 | * @param string $path |
||
29 | */ |
||
30 | 1 | public function __construct(Target $target, Container $container, string $path) |
|
36 | |||
37 | /** |
||
38 | * Get all created backups. |
||
39 | * |
||
40 | * @return \phpbu\App\Backup\File[] |
||
41 | */ |
||
42 | 1 | public function getBackupFiles(): array |
|
63 | } |
||
64 |