1 | <?php |
||
20 | class Ftp extends Remote |
||
21 | { |
||
22 | /** |
||
23 | * FTP client class, handling FTP connection and commands. |
||
24 | * |
||
25 | * @var \SebastianFeldmann\Ftp\Client |
||
26 | */ |
||
27 | private $ftpClient; |
||
28 | |||
29 | /** |
||
30 | * Ftp constructor. |
||
31 | * |
||
32 | * @param \SebastianFeldmann\Ftp\Client $ftpClient |
||
33 | * @param \SebastianFeldmann\Ftp\File $ftpFile |
||
34 | * @param string $path |
||
35 | */ |
||
36 | 5 | public function __construct(Client $ftpClient, File $ftpFile, string $path) |
|
44 | |||
45 | /** |
||
46 | * Deletes the file. |
||
47 | * |
||
48 | * @throws \phpbu\App\Exception |
||
49 | */ |
||
50 | 2 | public function unlink() |
|
59 | } |
||
60 |