1 | <?php |
||
8 | class Ftp extends Collector |
||
9 | { |
||
10 | /** |
||
11 | * @var Filesystem |
||
12 | */ |
||
13 | private $flySystem; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $path; |
||
19 | |||
20 | /** |
||
21 | * Ftp constructor. |
||
22 | * |
||
23 | * @param \phpbu\App\Backup\Target $target |
||
24 | * @param \League\Flysystem\Filesystem $flySystem |
||
25 | */ |
||
26 | public function __construct(Target $target, Filesystem $flySystem) |
||
31 | |||
32 | /** |
||
33 | * Get all created backups. |
||
34 | * |
||
35 | * @return \phpbu\App\Backup\File[] |
||
36 | */ |
||
37 | public function getBackupFiles(): array |
||
54 | } |
||
55 |